diff --git a/printf.c b/printf.c new file mode 100644 index 0000000..370fc5b --- /dev/null +++ b/printf.c @@ -0,0 +1,23 @@ +#include "main.h" +#include + +int _printf(const char *format, ...) +{ + unsigned int thingies; /*how many %* that aren't %*/ + char *buffer; + int i; + va_list stuff; + + thingies = _contains(format, '%'); + va_start(stuff, format); + + if (!format) + return (0); + while(format) + { + if (*format) + } + + + +}