Code:
else if (cho=="COU" || cho=="cou" || cho=="Cou"){
cout<<"Enter a number to count to: ";
cin>> c_num;
cin.ignore();
do{
x=0;
cout<<x;
x++;
}
while(x != c_num);
}
well, the first thing I notice is your else if statement... you need to make sure you're not using C-style arrays. make sure you're declaring cho with the keyword string.
also, you're initializing x to zero in the loop. you want to do that outside and before the loop.
other than that, I don't see much wrong with your code. unless of course you have some other problems elsewhere in your code.
edit: one more thing. what happens if the user enters -5 when you ask for a number to count up to?