diff --git a/README.md b/README.md index f27ea0a..5853757 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # zombie-libc -zombie-libc is the spiritual successor to zombie-lib except this time written in C and C compliant instead of whatever i wanted to do. \ No newline at end of file +zombie-libc is the spiritual successor to zombie-lib except this time written in C and C compliant instead of whatever i wanted to do. + +## Building +gcc -Wall -Wextra -Werror -g -lm quadratic.c diff --git a/strlen.c b/strlen.c new file mode 100644 index 0000000..86a0a62 --- /dev/null +++ b/strlen.c @@ -0,0 +1,22 @@ +#include //printf and shit + +int main() { + + char benis[] = "cock"; + char *benispointer; + char *secondbenispointer; + + benispointer = &benis; + secondbenispointer = &benis; + + puts(benis); + + + printf("benis is at: %x", &benis); + + + puts(*benispointer); + + + return 0; +}