Revision: 35421
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 8, 2010 05:17 by FACastello
Initial Code
#include <stdio.h>
#include <stdarg.h>
void pline(char* str, ...)
{
char buf[256];
va_list args;
va_start(args, str);
vsprintf(buf, str, args);
va_end(args);
printf(buf);
}
Initial URL
Initial Description
This is a custom implementation of printf. You can expand this function to do whatever else you want it to do.
Initial Title
Custom Printf function
Initial Tags
Initial Language
C++