keyboard

hii

what should i include in keyboard function if i was to proceed on pressin ANY key…not a particular key…

Could u elaborate a bit more like the platform u r on and possibly the toolkit u r using.

vc++ glut

m now giving it like

if(k==‘A’) i++;

but i want i to increment on pressing any key

hey i got it…thanku

shitt…my mind was struck…
its just if(k)

hmm dont use the if. Just increment i.