Hello,
Is there any way of reading words from a string containg a few words separated by white spaces using a loop? I don't know how many argumets the user will input. I wanted to do it like this:
for(i=0;i<wordCounter;i++)
{
sscanf(input,"%s",argument[i]);
}
But this keeps reading in the first word from the string.