PDA

View Full Version : How can I view the available c++ headers in xCode?




Soulstorm
Nov 15, 2005, 03:24 PM
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.



elhigu
Nov 15, 2005, 03:55 PM
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?