linux libraries

This is a discussion on linux libraries within the Linux Programming forums, part of the Platform Specific Boards category; Hi! What is a proper function which is similar to "getch ()" and in which library in Linux is it?...

  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
    moi
    moi is offline
    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, 12:03 PM
  2. Trouble Compiling 1394 Development Libraries for Linux
    By Phanixis in forum Linux Programming
    Replies: 6
    Last Post: 10-05-2007, 11: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, 08:34 PM

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