Thread: <conio.h> in Borland (or VIsual) C++ compilers?

  1. #1
    Registered User
    Join Date
    Mar 2002

    <conio.h> in Borland (or VIsual) C++ compilers?

    I tried Borland C++, but it doesn't seem to
    have <conio.h> in it. I need the prototype for the Port I/O Function (inp ()). Do I necessarily need a C compiler, not a C++ one? I have Visual Studio (C++), which did not work.

    I need a C compiler in DOS mode (command line compiler probably) because I want to skip the API aspect.

    What could have been the problem?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    You need to redefine what you are trying to do

    None of the later MS operating systems allow you unconditional access to the hardware (via inp and outp)

    You need to know which device you want to talk to, and locate the appropriate driver API.

    > I need a C compiler in DOS mode
    Do you really mean DOS, or the Win32 console.
    They may look similar with their C:\> prompts, but they are very different.

    If you really mean DOS, then you need a real DOS compiler. I don't think either of the two you suggest can do this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 08:03 AM
  4. small compilers?
    By Korn1699 in forum C++ Programming
    Replies: 2
    Last Post: 06-22-2003, 05:58 PM
  5. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 04:21 PM