well ive been learning C++ the last few days and have started to create an address book app
if you have a look at the code : http://x-kane.com/programming/addressbookmain.cpp
this one sort of works (so far)
the problem i have is in the switch statement i have had to change the VK_RETURN to VK_SPACE.
the reason ... well after the switch called the "addEntries" function, it worked but then after i pressed escape in the addEntries it seemed to recall itself .. like it would go bak to the main menu (could see it flash on) but then went straight back to addEntries.
hard to explain but if you change the switch like i suggested above and enter data then try and press escape ..you will see what i mean.
its like its keeping the VK_RETURN in memory ... do i have to "clear" it or something?
and one more question ... the while loops i have in the program use 100% cpu ... what other options is there if these loops do this?