keyborad

Discussion in 'C' started by endri, Nov 5, 2010.

  1. endri

    endri New Member

    Joined:
    Nov 4, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hello everybody.need help to write a simple program in c or c++ that can read character from port.for example reading from keyboard from 60h.
     
  2. go4expert

    go4expert Moderator

    Joined:
    Aug 3, 2004
    Messages:
    306
    Likes Received:
    9
    Trophy Points:
    0
    I think the function kbhit can help you.
     
  3. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    19
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    http://www.techgeek.in
    do u have the knowledge of "interrupts" and "registers" ? At least get that knowledge then I can help u out with a code...without those knowledge itz very difficult for me to make u understand...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice