Question about Computers & Internet
I have tried it. i used kbhit and getch() function for this. object is moving but on all keys i want it only on arrow keys, and one more thing when i realease the key object gets dessapear. can i get the code for this.
Yaa you can make a check like following:
Lets suppose your up key has a scan code of 28
then you should use
while ((upkey = getch()) == 28)
............do your work to move your object
..............make your object disapear here
Note: m not sure the up key scan code is actually 28
you can chek it after using printf(%d, getch())
Posted on Mar 15, 2008
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
Here's a link to this great service
Posted on Jan 02, 2017
Tips for a great answer:
Sep 11, 2016 | ASUS Computers & Internet
Mar 26, 2011 | Borland Turbo C++ 3.0 Full Version...
Jan 02, 2010 | ASUS Eee PC 900 Notebook
Dec 18, 2009 | Televison & Video
Nov 01, 2009 | Casio FX-300MS Calculator
Oct 26, 2009 | Texas Instruments TI-Nspire Graphic...
Jun 16, 2009 | Microsoft Excel for PC
416 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: