hi guys
I need to run some operation if a key from keyboard is pressed
so I go with
to get it read. yet the user could press a key anytime; so I'd need some if-loop. no plans on how it'd look like though...I suppose something like this below wouldn't work right?Code:c=getchar();
Code:if(getchar()==1){ .. }
any hints? thanks