Tokenization
I have a program that reads the input from keyboard using readline()
. its like a simple shell that reads the input string and acts on the commands being passed.
the strtok() function looks simple but how do i implement it. Assuming the string from input i get is called "reply".
thanks in advance