Hi,
I seem to have forgotten how to traverse a string of unknown size using a char pointer.
Example:
Code:char *argv[MAX_TOKENS];
What I thought I should do is make a char pointer
Code:char *ptr; ptr = argv;but this will not advance the pointer. What did I forget?Code:while (ptr){ do something; ptr++; }