I've been going through a few tutorials to teach myself c++ and even with basic programming experience (in java) some of them were really hard to follow. My recommendation is 'c++ ripped apart':...
Type: Posts; User: Mr Fancy
I've been going through a few tutorials to teach myself c++ and even with basic programming experience (in java) some of them were really hard to follow. My recommendation is 'c++ ripped apart':...
Hmm it's still looping away without waiting for user input (more specifically, the Enter key) whenever I input a char or string instead of a number (ie, when cin.fail() == true). It's like cin isn't...
I have a nasty issue with 'cin' in loops. The first time through it works fine (I want to accept only an int for a function call in my program, and ignore chars that would mess it up) but subsequent...