I want my conio.h!

This is a discussion on I want my conio.h! within the Linux Programming forums, part of the Platform Specific Boards category; Being a bit of a Borland person I want to be able to use functions like gotoxy (or equilvalents) under ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    79

    I want my conio.h!

    Being a bit of a Borland person I want to be able to use functions like gotoxy (or equilvalents) under linux. Is this possible?
    Also, how can I make the gcc getch function not wait for enter to be pressed?

  2. #2
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    conio is a DOS library (mostly)

    gotoxy() doesn't require conio.h

    and conio is not required for anything important.
    if you sill want it...
    copy conio.h into /usr/local/include (i think)
    or
    /usr/include
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  3. #3
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    I believe that curses.h containes many of the conio.h function declarations.

  4. #4
    biz
    biz is offline
    Registered User
    Join Date
    Mar 2002
    Posts
    14
    look up ncurses...it will do all you need and then some.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. conio.h not working in *nix
    By wise_ron in forum C Programming
    Replies: 2
    Last Post: 05-04-2006, 01:54 PM
  2. conio.h in Visual C++ ?
    By Born_2B_Alone in forum Windows Programming
    Replies: 3
    Last Post: 09-22-2004, 07:32 PM
  3. Getting textcolor in conio.h to work with Win32
    By MMD_Lynx in forum C Programming
    Replies: 5
    Last Post: 09-02-2004, 01:32 PM
  4. conio.h
    By Jaguar in forum Linux Programming
    Replies: 10
    Last Post: 10-17-2002, 01:12 AM
  5. Conio.h file problems
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 05-23-2002, 01:44 PM

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