Con la sscanf().
Prototipo : int sscanf(const char *buffer, const char *format[, address, ...]);
codice:char *str="9 5"; int n1,n2; sscanf( str, "%d %d", &n1, &n2); printf("%d %d", n1, n2);
Con la sscanf().
Prototipo : int sscanf(const char *buffer, const char *format[, address, ...]);
codice:char *str="9 5"; int n1,n2; sscanf( str, "%d %d", &n1, &n2); printf("%d %d", n1, n2);
01010011 01100001 01101101 01110101 01100101 01101100 01100101 01011111 00110111 00110000
All errors are undocumented features waiting to be discovered.