How can I view the available c++ headers in xCode?

Discussion in 'Mac Programming' started by Soulstorm, Nov 15, 2005.

  1. macrumors 68000

    Soulstorm

    Joined:
    Feb 1, 2005
    #1
    I am learning now c++. In PC in our university we program with DevC++ and Turbo C++ in which we are able to see the available headers and their contents and a brief explanation of what each function included in a header (for example stdio.h) does.

    But in OS X many things change with in the headers. And I want to be able somehow to view the available ones, and view the functions contained therein. How can I do that, preferably in xCode?

    Thank you in advance.
     
  2. macrumors newbie

    Joined:
    Nov 15, 2005
    #2
    depends on what are you coding?

    Usually you should not need to learn using new libraries, from headers.. but if you really like to find them, you can use e.g. spotlight to locate them.

    Some of them are found from
    /usr/include, /Library/Frameworks/somelibrary.framework/Headers
    /System/Library/Frameworks/somelibrary.framework

    anyways, I would recommend to check for example these websites for info
    http://www.cppreference.com/
    http://www.cplusplus.com/ref/

    If you need information of Mac specific libraries, you should check
    http://developer.apple.com/sdk/

    XCode supports all same standard libraries that GCC does, so there is plenty of information about it in the web.

    Hope that this was even a bit helpful... or maybe I got you wrong?
     

Share This Page