Re: C++ Programming Help if you want to constantly monitor for different key presses tho you might have to do something like:
while(1)
{
char store;
store=getchar();
switch (store)
{
case 'A':
whatever;
whatever;
case 'B':
whatever;
default:
nop;
}
}
__________________ "As a result of all this hardship, dirt, thirst, and wombats, you would expect Australians to be a sour lot. Instead, they are genial, jolly, cheerful, and always willing to share a kind word with a stranger, unless they are an American." -- Douglas Adams Click this if I helped you Note: only awesome people have the ability to rep me. Are you awesome? Why don't you try hitting the rep button and find out... >>>> <<<< |