If loop that executes when Enter key is pressed C++
<p>I'm using Windows XP Home Edition.  I want to set up a menu system that displays an image when the Enter key is pressed.  Is there any way I can set up an if statement that executes when the Enter key is pressed on the keyboard without setting up a GUI.  For example, can I just use the hex value associated with Enter key as a trigger for the if statement.</p>

<p>I've looked into reading input buffers.  Am I going to have to get that complex with it?  I don't really </p>
