How do I make a function in C
that is equal to the function Readkey
of Pascal
or equal to function Lastkey
of old Clipper
? I want to receive only one character for each key pressed. Create menus, receive ESC key, etc. Thanks in advance.