HI!
I want to chanfe my way of using the keyboard in C++. I have always written my script this way:
int a;
for(;{
a=getch();
if(a==13) // it's ENTER
{
func(); // the do it so...
}
}//for
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...