I am currently programming in VC++ 6.0. I just started reading from the keyboard and I noticed that VK_A through VK_Z are commented out. Will I be ok if I just use 0x41 for A, or should I be reading the keys a different way?
Question about Virtual Keys
nm, I just tried it myself and it worked just fine.
maybe you should use:
It will be easier to read.
- Code:
//instead of hexadecimal value
if (key == 'A')
//do something
It will be easier to read.