Is there any function in C or C ++ to do the opposite of snprintf, so
char buffer[256]
snprintf( buffer, 256, "Number:%i", 10);
int i;
inverse_snprintf(buffer,"Number:%i", &i);
I can write a function that itself meets this requirement, but is there already one in the standard libraries?
foips source
share