I would like to know how to start a c++ program and ask for input, while having my code continue until I recieve input. I kinda want it to work like this
cin >> x;
while (x!="exit")
{
// do code while waiting for x to equal "exit"
}
Any help would be great!
Thanks

New Topic/Question
Reply




MultiQuote





|