First time asking here. I've been looking around for quite a while and couldn't find an answer anywhere. I've had to build a calculator in C++ (boring stuff so tried to make it interesting) but couldn't find a way to wait for the next keyboard input and read it/store it. Something like keyboard events.
Cin requires the user to press enter every time and I don't want that. same for getchar, getch, cin.get(), etc...
If possible I'd like to avoid the inclusion other library than the basic ones.
Anyone knows how to ? Thanks.