Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Quboid

macrumors 6502
Original poster
Oct 16, 2006
441
0
everywhere
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:
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
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.
 

gnasher729

Suspended
Nov 25, 2005
17,980
5,566
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:

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.