History:
CharFormat
char *CharFormat( char *format, ...)
Similar to function sprintf(). Returns the created char array - max. sentence length is 255 characters.
Code
char FSTR[256]; char *CharFormat( char *format, ...) { va_list argptr; va_start(argptr, format); vsprintf(FSTR, format, argptr); va_end(argptr); return FSTR; }
Code.Tode.cz by Henry - 2014