Link to home
Start Free TrialLog in
Avatar of summer_soccer
summer_soccer

asked on

C++ standard APIs

Hi there,

     I used to program in Java. But now I am working on a legacy C++ code base. I'm not very familiar with C++ and it takes me a long time to understand the code. Especially, there are a lot of functions I don't know where to find their synopses; in Java, I can go to Sun's website to look for the corresponding API. Can anybody tell me is there is some place that  has complete collection of the C++ APIs descriptions? Many thanks.

Soccer
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

If you program in Visual Studio (and have the MSDN library intalled), you can place the cursor over a keyword or a function name and hit the F1 key. This will bring up the help for the selected term.

If you are using any other IDE, there may be a similar feature available.

If this still leaves you in the dark, try http://www.cplusplus.com/.

Unfortunately C++ is not platform independant like Java, so every implementation has different libraries.
ASKER CERTIFIED SOLUTION
Avatar of Tommy Braas
Tommy Braas
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
orangehead911 is correct, I should have said "C++ environments are not platform independent". The reality however is that it's very unlikely that one C++ program that is more than just a toy application will compile on a different platform without any changes.
As soon as user interface libraries are involved, this is definitely the case.
If you are working in a Unix environment, you can use the "man" command to get information about most library functions and system calls:
"man sprintf" will display the man page for all printf type commands (printf, fprintf, sprintf, snprintf, vprintf, vfprintf, vsprintf, vsnprintf)