View Single Post
Old 08-31-2008, 11:26 PM   #13 (permalink)
S0ULphIRE
S0ULphIRE's Avatar
 
01001100011011110110110

Join Date: Mar 2007

Location: Perth, Australia

Posts: 2,699

S0ULphIRE is a jewel in the roughS0ULphIRE is a jewel in the roughS0ULphIRE is a jewel in the rough

Default 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...
>>>><<<<
S0ULphIRE is offline