Thread: DIfference between manpages-dev and libstdc++ manpage

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    159

    DIfference between manpages-dev and libstdc++ manpage

    Hi,

    I was wondering what is the difference between manpages-dev and libstdc++ manpage as to C and C++ programming? As far as I know, libstdc++ manpage is for GNU C++ standard library and the first one for ...? Do they cover some content in common?

    I also have the impression that the info on which file to include is not always clearly specified or even unavailable. For example, by man std::vector, I am not able to find such info as to add "#include<vector>" in my code if I would like to use std::vector. Or am I missing something?

    Is there a manpage used in terminal to show the basic syntax for C and C++ like for class, virtual function, while, for and etc...?

    Or what would you recommend for info on C and C++ and their standard library, especially when not able to use internet?

    Thanks!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by lehe
    Or what would you recommend for info on C and C++ and their standard library, especially when not able to use internet?
    PDF copies of the C and C++ standards :P

    Actually, I find Josuttis' book The C++ Standard Library: A Tutorial and Reference to be pretty handy, except for the fact that it is bulky.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    159
    Thanks!

Popular pages Recent additions subscribe to a feed