system("PAUSE") is a bad habit, use something like "wait for character input" for a pause, its much cleaner and less memory intensive.
define my_cheat as a boolean statement and set it to false
if(GetAsyncKeyState(VK_F10)&1)
{ my_cheat = !my_cheat }
if(my_cheat)
{
all_my_sexy_functions()
}
This is a hotkey set to f10, not sure what esc key is.
dont copy/paste this exactly, im sure its fked up. you probably need to get a window handle or something