If you're after portability use -
cin.get();
Alternatively some compilers include non-standard functions in conio.h to obtain un-echoed input.
If you're after portability use -
cin.get();
Alternatively some compilers include non-standard functions in conio.h to obtain un-echoed input.