Thread: Conio.h Library?

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    3

    Conio.h Library?

    I was just wondering where I could find a working conio library for Microsoft Visual C++ 6.0. Any help would be greatly appreciated.
    Thanks

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I was just wondering where I could find a working conio library for Microsoft Visual C++ 6.0.
    #include <conio.h>
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    3
    Yeah, I'm not stupid... The one I have doesn't work properly and some parts don't work at all.

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    Each conio library is different. Try adrianxw's tutorial for some alternatives if certain things aren't working.

  5. #5
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Try reinstalling.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    In fact try a more modern compiler.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Ugh...Download a modern compiler: http://msdn.microsoft.com/vstudio/express/default.aspx
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  8. #8
    Registered User
    Join Date
    Nov 2006
    Posts
    3
    I'm working through school so it will be quite hard to use a different compiler. I can probably find a way if there is no way around it but it is quite a hassle.
    Thanks for the prompt replies!

  9. #9
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Also, if your conio is COMPLETELY broken, try google'ing for conio.h and compying that into yours.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  10. #10
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Here is a place for downloading these headers: http://www.koders.com/c/fid990B3D848...load%2Bconio.h
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  11. #11
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > Here is a place for downloading these headers
    Mmm - does that work?
    http://faq.cprogramming.com/cgi-bin/...&id=1043284385

    > I'm working through school so it will be quite hard to use a different compiler.
    All the more reason to stop using conio.h at all, and learn to use standard C.
    By learning standard C, you make "which compiler" a non issue since your code should work on any compiler.
    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.

  12. #12
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Change compilers. Get MinGW that can be as simple to install as peeling a banana if you download the Dev-C++ IDE.

    If then you really want to use conio, you can download conio2 for MinGW from http://conio.sourceforge.net/
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  13. #13
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    >> I'm working through school so it will be quite hard to use a different compiler.

    I feel your pain - we have to use VS 6 at University
    The only conio function I've ever found any use for is getch().
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  14. #14
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I'm confused...

    Has Microsoft decided to give away VC 6.0 for free? If not, why do universities force students to buy it?
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  15. #15
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > Has Microsoft decided to give away VC 6.0 for free? If not, why do universities force students to buy it?
    For the same twisted and warped logic which says they must use TurboC at other places.

    Tutor Translation:
    I know my code works with this compiler, and I can't be arsed to either make sure it works with other compilers, or check that the code is ANSI compatible to make the whole "which compiler" issue go away.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's an import library?
    By chiefmonkey in forum C++ Programming
    Replies: 1
    Last Post: 06-19-2009, 05:00 PM
  2. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 06:04 AM
  3. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  5. better c string functions
    By samps005 in forum C Programming
    Replies: 8
    Last Post: 11-04-2003, 01:28 PM