Thread: bioskey() - please help me out

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    bioskey() - please help me out

    ok, i heard of this bioskey thing. I guess you type something like:

    int key=bioskey(0);
    cout<<key;

    That will print the id number of whatever key you press, no? Doing that you could find the id numbers of the keys, and use arrow keys for moving the cursor around, no? I want to use it in my tic tac toe game - to move the blinking cursor around to each spot using the arrow keys. Could someone explain exactly how this function works? it is in bios.h. Also, how do you get the blinking cursor, but not waiting for input. know what i mean? so i want the blinking cursor to move around an array, controlled with the arrow keys, and if you click enter while the cursor is at a certain spot in the array, it makes the corresponding move. Could someone explain bioskey() and how to get the blinking cursor?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    46
    I'm not sure if this will help, but I looked on google and found this.
    C code. C code run. Run code, run...please!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bioskey
    By JTtheCPPgod in forum Game Programming
    Replies: 5
    Last Post: 01-18-2002, 09:32 PM
  2. Here's my tic-tac-toe game
    By ihsir in forum Game Programming
    Replies: 14
    Last Post: 12-31-2001, 06:15 PM