help needed..(couldnīt think of any better topic name)

This is a discussion on help needed..(couldnīt think of any better topic name) within the C Programming forums, part of the General Programming Boards category; I whant to make a comand simliar to the inkey$ comand in basic witch I can use for polling so ...

  1. #1
    Wannabe Coding God
    Join Date
    Mar 2003
    Posts
    259

    help needed..(couldnīt think of any better topic name)

    I whant to make a comand simliar to the inkey$ comand in basic witch I can use for polling so I simply wounder if you could tell me what I need to know and maybe give me a link on some manuals for it or if itīs really hard to make such a comand mb you could tell me of one alrady exisiting one and maybe also give me a link to a manual on that

    /thx in advance
    They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    for buffered input there is scanf() or fgets(). For unbuffered input there is getch() but it is non-standard although most compilers seem to support it. On msvc its called _getch(). Look those funcs up in your help files.Also do a board search as this sort of thing gets covered regularly. Take a moment of your time to peruse the FAQ as well.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Wannabe Coding God
    Join Date
    Mar 2003
    Posts
    259
    am I abel to use those comands for keybaord polling?
    They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by Shogun
    am I abel to use those comands for keybaord polling?
    No. If you have it, try kbhit(). What compiler/OS. No, wait, don't tell me, have you done a board search yet, as suggested?
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Wannabe Coding God
    Join Date
    Mar 2003
    Posts
    259
    no :0
    They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Programmers needed for Direct Hire positions
    By canefan in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 09-24-2008, 12:55 PM
  2. Alignment tutorial needed!!
    By mynickmynick in forum C++ Programming
    Replies: 11
    Last Post: 09-12-2008, 05:41 AM
  3. Most common topic on the cboard
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 01-15-2004, 05:42 PM
  4. Topic help!!!
    By Joanna in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-30-2003, 02:24 PM
  5. Normal Topic 4: If you had a homosexual boss in a programming job how would you feel?
    By Alphabird32 in forum A Brief History of Cprogramming.com
    Replies: 39
    Last Post: 04-07-2003, 04:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21