cin doesn't work so I think the API : ReadConsoleInput can but I cannot put it work well.
Here is what I have :
PHP Code:char c;
PINPUT_RECORD lpBuffer=0;
LPDWORD lpNumberOfEventsRead =0;
ReadConsoleInput(NULL,lpBuffer,1,lpNumberOfEventsRead);
c = lpBuffer.KEY_EVENT;




Reply With Quote