PDA

View Full Version : How to add extended libraries in Xcode?




Joshpho
Dec 25, 2011, 09:32 PM
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