void getCommands(char * cstr,char * p,string *userInput,string Input)
{
string currentCommand = "";
strcpy (cstr, userInput.c_str());
p = strtok (cstr," ");
while (p!=NULL)
{
p=strtok(NULL," ");
cout << p;
}
ERROR
`c_str' has not been declared
request for member of non-aggregate type before '(' token
I have #include <cstring>
WHY STILL DONT WORK!!!!!!!!!!!!!!!!!!!!! :(:(:(