Hello,
do you use any particular site for function reference or you just google the function?
Hello,
do you use any particular site for function reference or you just google the function?
G'day,
I pretty much always go to the project's home page or vendor's site first to see what documentation is available first and then try Googling.
Edit: Oops, I forgot add that I am almost always using the "K" functionality of vim to bring up the relevant man page if I am looking at the source code itself. Parking your vim cursor on the function name and hitting the captial-K key with open a new buffer with the relevant man page loaded. Just enter :bd when you want to close the man page and your then back in the source code.
Actually, I'm really beginning to see that more and more a relevent SO question and answer turns up high on the list of Google results.
HTH
cheers,
For C, I use http://man.cx/ or http://linux.die.net/man/ or http://www.opengroup.org/onlinepubs/007908799/ and mostly my copy of the Draft C99 reference.
For C++ Standard Library functions, I look them up in my paper copy of "The C++ Standard Library" by Nicolai Josuttis. Like most good technical books, it is far superior to any on-line resource.
Either http://www.cplusplus.com/ or http://www.dinkumware.com/ for the standard library reference.
I still visit the STL pages at SGI a lot. It's a good thing these pages are still there even though SGI isn't exactly what it used to be.
The same for Boost: website is easiest.
However, I consume Qt documentation mostly via QtCreator as it is a pretty decent tool, even though I use Emacs to edit my sources.
I have SGI's STL doc, Apache's (formerly Rogue Wave) STDCXX doc and Single Unix Spec (= POSIX) v3 locally. I run FreeBSD, have man pages installed.
other than that, it's google which usually quickly leads to the sites mentioned in the other answers.
95% of my basic C/C++ questions are answered via Google (usually through a link to http://www.cplusplus.com).
Google has the advantage that I get to see at a glance an overview of what problems other people might have been running into with whatever I'm looking up. This isn't usually something of value (because I'm just looking for a refresher or basics), but when it is useful it's pure gold.
If I need more authority or detail, I hit the PDF of the standard document. Then of course there's MSDN (local or on the web) if I need Windows details (which is often enough for me anyway).
Finally when I really want or need background or for curiosity's sake, there's a few shelves full of books from the experts (or their online articles - which Google helps me with, of course).
I use CPP Reference a lot. It is not complete, but the pages are simple, uncluttered and easy to read. When in doubt, I check the paper references.
For C I just use man localy in the terminal. I find it supperior to online resources both in terms of speed and accuracy.
I have a PDF of the ISO/IEC 14882 C++ standard. Costs about $30 to download from the ISO web site, and is indispensible for any "real C++ programmer."