I
Isliguezze
How do I do in C++ (!) this operation (usin C99 stdlib.h):
fflush(stdin);
And how do I make something like "Press any key to continue..." in
standard way? I mean if I use getchar() (again from C99), if requires
pressing <Enter> key. How do I do it without pressing <Enter>? Any
unbuffered standard C++ variant? Maybe some std::cin member function?
fflush(stdin);
And how do I make something like "Press any key to continue..." in
standard way? I mean if I use getchar() (again from C99), if requires
pressing <Enter> key. How do I do it without pressing <Enter>? Any
unbuffered standard C++ variant? Maybe some std::cin member function?