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

Soulstorm

macrumors 68000
Original poster
Feb 1, 2005
1,887
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.
 

elhigu

macrumors newbie
Nov 15, 2005
5
0
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.