I want to chanfe my way of using the keyboard in C++. I have always written my script this way:
if(a==13) // it's ENTER
func(); // the do it so...
but it's a very primitive way...
Can somebody help me?
(I would also like to use a script which does not interrup one operation like:
when U are pressing arrows to move and than U want to shoot but without interrupting the moving operation...)
THX in advance...
look up virtual keys by searching the boards and/or the web.
Heres a section on virtual keys from the FAQ, theres much more on here if you look for it.