02.01.2010, 18:12
strtok and sscanf split a string into sub strings. They split it at a space ( ' ' ) character. Sscanf is faster and offers more functionality, like spliting a string by a different delimiter, spliting a string into smaller string/integers/floats with one function call, etc ...