Ending a program anywhere... how?
I saw this earlier post on another site(http://www.programmersheaven.com/c/M...ing=A9999F0006)
and since I'm new to C++ (I've done BASIC), I thought that a variation of it would be nice, since a lot of my programs are really annoying.
How might I set it up so that no matter where in the program it is, if the keys "Alt+F4" are pressed, it will immediately end the program? Using the code at the abovementioned post, I could get "Q" to close at a particular point.
I'm using Microsoft VC++ 6.0 as my compiler, and I am working on a WIN32 Console Application. Feel free to email me. (firstname.lastname@example.org)