Help please.

Nov 24, 2011 at 5:48am
Please don't spam i'm 13 and trying to learn a new language lol Actualy i like c++ more then most languages i know.
anyways.


are keys in certain libraries such as something like this #include <keys.c>
or do you find it by weird code if so is there a website that i can go to were i can see what each keys code is called?.Thanks to everyone that helps.
Nov 24, 2011 at 5:54am
What do you mean by "key"?
Nov 24, 2011 at 6:38am
like a key on a keyboard say there playing my game and they need to use the arrow key to move that kind of a key.
Nov 24, 2011 at 6:47am
nevermind i think i found it.
Nov 24, 2011 at 7:52am
closed account (zb0S216C)
No. The keys are on you keyboard. std::cin reads from its input buffer and processes the characters within the buffer.

When using Windows' SDK, there're predefined numerical constants in the form of hexadecimal that represent each key on the keyboard. With that said, you can handle each key separately.

Wazzak
Topic archived. No new replies allowed.