1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

How to add extended libraries in Xcode?

Discussion in 'Mac Programming' started by Joshpho, Dec 25, 2011.

  1. macrumors newbie

    #1
    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
     

Share This Page