I just started to learn C++ this month.
In Python, I can view the documentation of a built-in function (for example, str.find) by using help(str.find).
However, I've no idea about how to view the documentation of std::find in <algorithm>, for example.
Does anyone have ideas about a quick way to look up documentation of a function in C++?
C++ doesn't have built-in documentation like Python.
The most comprehensive online reference guide is C++ reference, which covers the last three standards. This is not the top hit on most search engines but the top hit is full of inaccuracies and should be avoided.
You can also download archives of the site for offline viewing (English link).
Does anyone have ideas about a quick way to look up documentation of a function in C++?
In Google Chrome, I have a search engine set up with the keyword "cpp" and the URL "http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search=%s" so that I can type cpp std::find
in the address bar to find details of std::find in my browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With