Conio.h not a library in Xcode?

Discussion in 'Mac Programming' started by Quboid, Nov 5, 2006.

  1. Quboid macrumors 6502

    Joined:
    Oct 16, 2006
    Location:
    everywhere
    #1
    Hey, i am currently taking programing courses in my university and we are requiered to do C. I have of now been using "scanf" functions in place of "getchar", "getche" functions because the appearantly xcode does not posses the Conio.h library. If it is so how can i find or add this library to my environment? Or am i missibng something?......help
    :confused:
     
  2. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    conio.h is part of x86 DOS/Windows tools. It shouldn't be used on any machine. stdio.h provides several character and string input/output functions that are part of standard C. Your university isn't doing you any favours by avoiding proper function calls and using those console I/O functions instead.
     
  3. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #3
    Your teachers are missing something. You can download the latest version of the C Standard at http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf and if you look at that text, you will find that conio.h is nowhere mentioned.
     

Share This Page