Computer Science Canada I need Help |
Author: | SimmiR [ Fri Jan 20, 2012 10:38 am ] | ||
Post subject: | I need Help | ||
So, I have to do this for our final assignment, but I'm having trouble getting the keyboard commands work. The code is as following:
|
Author: | tedbean [ Fri Jan 20, 2012 10:57 am ] |
Post subject: | Re: I need Help |
Q: How can we find out errors in this code? if any. Sorry I have absolutely no clue. ![]() |
Author: | Insectoid [ Fri Jan 20, 2012 12:17 pm ] | ||
Post subject: | RE:I need Help | ||
This will only execute if a key has been pressed since the last get. The program will typically finish executing far, far faster than you can hit a key. You need to keep checking over and over again to catch the keystrokes as they occur. |
Author: | Alex C. [ Fri Jan 20, 2012 12:39 pm ] |
Post subject: | RE:I need Help |
basicly loop your program, and exit that loop when you get that key... |
Author: | SimmiR [ Mon Jan 23, 2012 9:26 am ] |
Post subject: | RE:I need Help |
Thank to all of you, you were a great help ![]() |