In Ubuntu linux I can't get any man pages for C++ keywords. Is there some kind of package I can install to fix this?
sudo apt-get install manpages-dev glibc-doc
Look here too for STL.
check out this project: https://github.com/Aitjcize/cppman Which generates manpages from cplusplus.com
The libstdc++6-4.4-doc will install the man pages for STL too, not only the HTML doc. The manpages-posix-dev package is also really good to have.
You must install manpages-dev package :
$ sudo apt-get install manpages-dev
You could also consider installing libstdc++6-4.4-doc, which installs the full C++ library documentation in HTML format, generated from the doxygen comments (you can find it in /usr/share/doc/libstdc++6-4.4-doc/libstdc++/html/index.html
, and I think that scrollkeeper indexes it). Remember to install the updated package when the installed g++ version changes.
来源:https://stackoverflow.com/questions/2887498/c-man-pages-in-ubuntu