That's my first post on this forum and I'd like to greet Everyone
I got a question about getting the last key pressed without stopping the programm. I know that getchar(), cin, getch() commands don't allow to do that. Have You any idea how to solve this problem?
I 'd like to do sth like that:
a=get_last_key_without_stopping_the_programm(); // Do You know a function similiar to that?
case: 'W' :
case 'S' :