Thread: conio.h in Visual C++ ?

  1. #1
    Registered User
    Join Date
    Sep 2004

    conio.h in Visual C++ ?

    Hello. I`m useing Visual C++ and I need to use outportb function, but in Visual`s C++ conio.h there isn`t that function, in Borland C++ that function is. Any suggestions ? THNX
    Butterfly sweep can make torando in another side of world

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Get a newer book or an older compiler.

    Which port are you planning to mess with?

    Taking a guess, if it's the serial port, then use the win32 CreateFile() API and associated functions.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User Rare177's Avatar
    Join Date
    May 2004
    i believe that VC++ and BC++ have 2 different functions like in BC++ it is outportb and in vc++ it is something different..i dont know it off the top of my head but they may help, also i think it uses a different header file than conio

  4. #4
    Registered User moi's Avatar
    Join Date
    Jul 2002
    dont most dos compilers put the io port commands in <pc.h>? but it's been a while... you probably don't have much of a reason to mess with them in a modern enviornment anyway
    hello, internet!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM