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

Joshpho

macrumors newbie
Original poster
Aug 17, 2011
7
0
Hi,

I'm in a C programming class and have previously used DevC++ by Bloodshed on W7. I'm currently looking to how to write C in x-code but am having issues including extended libraries in my programs. Does anyone know how to do this? They are .h files.

Also, if it helps, these are the instructions for DevC++:

1) Move the header files:
genlib.h
simpio.h
strlib.h
random.h

provided by us into the directory:

C:\Dev-C++\Include



2) In your program include each file as needed in addition to the standard C++ files.

Ex/
#include "simpio.h"
#include "strlib.h"


Thank you for any help!
Josh
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.