Hey so it\'s been reccomended to me that i should use the kdhit() function to detect a keypress in a console window:
\"If it\'s Windows, the kbhit( ) function is the guy
Very usefull is GetAsyncKeyState
Check it out http://msdn.microsoft.com/en-us/library/ms646293%28v=vs.85%29.aspx