From 70cee2d04b09425249ed7527969dfc56aea20753 Mon Sep 17 00:00:00 2001 From: Nash Brooks Date: Sun, 23 Jan 2022 09:20:10 -0500 Subject: [PATCH] @QUANTUM HELPHELPHELPHLPEHLPEHLEPHLEPHLEP --- README.md | 5 ++++- strlen.c | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 strlen.c 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; +}