NEeds Tutarial for CMD without STROTK and SSCANF!!
#5

Quote:
Originally Posted by Andrew97
Посмотреть сообщение
but STRCMP is more Easier than Strtok!! I really can't understand this Strtok!!
Strcmp compares strings and strtok splits strings into tokens. Shouldn't really compare the two.

Sscanf is the easiest way to split strings, anything else is a lot more complicated and not to mention slower. You will have a very hard time finding tutorials for splitting strings that don't use either sscanf or strtok.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)