есть такой код:
while(strcmp(set,"end"))
{
cout << "> ";
cin >> set >> opt1 >> opt2;
/*
*
* set - is char array
* opt1 - is int value
* opt2 - is int value
*
*/
}
> end
> end 0 0
есть такой код:
while(strcmp(set,"end"))
{
cout << "> ";
cin >> set >> opt1 >> opt2;
/*
*
* set - is char array
* opt1 - is int value
* opt2 - is int value
*
*/
}
> end
> end 0 0