Thread: linux libraries

  1. #1
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669

    Question linux libraries

    Hi!

    What is a proper function which is similar to "getch ()" and in which library in Linux is it?
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  2. #2
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by Salem
    getchar(), which is part of the C standard library
    i'm thinking he wants non-echoed char-buffered input
    hello, internet!

  3. #3
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    There is no equivalent for the (DOS) getch function in Linux.

    You can use the (LINUX) getch function in the curses library but you need to create a window to make it work.

    There is however an alternative: emulate the getch function

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 11:03 AM
  2. Trouble Compiling 1394 Development Libraries for Linux
    By Phanixis in forum Linux Programming
    Replies: 6
    Last Post: 10-05-2007, 10:48 AM
  3. Books about Linux C libraries
    By scorpio_IITR in forum Linux Programming
    Replies: 1
    Last Post: 01-20-2004, 01:23 AM
  4. Linux Graphic Libraries You Use?
    By drdroid in forum Linux Programming
    Replies: 2
    Last Post: 10-06-2003, 07:34 PM