No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Is there any way to use standard C++ to wait for user input? And by input I don't mean just the enter key, I mean ANY key will continue executing code. I know about the conio.h and Windows.h libraries but those aren't standard C++ and I really want to get … | |
I have been looking around the internet all day looking for a way to stop my program from entering an infinite loop when the user enters anything except a number when I cin an int. For example: [CODE] while(blah blah) { int x; cin >> x; if(x == 4) break; … | |
Hello, everybody, I am doing my Java homework and we used this line in class with no problems at, I have the code from the program we used in class and it works on my computer no problem. However, when I put it into my homework's code, it gives me … |