need helpConsistent parentheses and whitespace between tokens help make the code less confusing, though they ...
need helpA friend declaration tells the compiler that the specified piece of code can access nonpublic member...
enter key auto :)Google "c++ unbuffered input" getch() should work but it's nonstandard c++.
structures in c++I don't know precisely the inner workings of io streams, so you may want to ask someone more qualifi...
structures in c++One solution is validate input and keep scanning if it's invalid. http://www.cplusplus.com/reference...