Computer Science Canada How do you close a window by pressing only 1 key? |
Author: | billsp [ Wed Mar 12, 2003 4:57 pm ] |
Post subject: | How do you close a window by pressing only 1 key? |
I'm using Turing 3.1 and I'm not quite sure how to close the 1st window and get a 2nd one up. Thanks |
Author: | Asok [ Wed Mar 12, 2003 5:52 pm ] |
Post subject: | |
I don't quite understand what specifically you're trying to do. If you can't open multiple windows then that is because Turing is running in Beginner mode and you can change that through prefferences. If your problem is something else please go in to more detail. |
Author: | billsp [ Wed Mar 12, 2003 6:19 pm ] | ||
Post subject: | I need to make it so I can press any key instead of enter to | ||
I need to make it so I can press any key instead of enter to get to the tic tac toe screen. Thanks
|
Author: | Tony [ Wed Mar 12, 2003 11:05 pm ] | ||
Post subject: | |||
you want getch() just like a get, but it takes a single key as its input
Note that its string(1) meaning its 1 character long. Turing will give you an error otherwise |
Author: | billsp [ Thu Mar 13, 2003 9:42 am ] |
Post subject: | |
Thanks for the help. I understand now |