c++ help tool?

B

bcjrstan

hi, guys
In linux,I can man 5 printf to get the c language printf using help,
in c++ I wonder whether have such a tool can get such
information ,such as cin using help ,and so on.
Any help is greatly appreciated! Thanks!
 
V

Victor Bazarov

In linux,I can man 5 printf to get the c language printf using help,
in c++ I wonder whether have such a tool can get such
information ,such as cin using help ,and so on.

Every commercial compiler comes with a reference manual. Often, it
is electronic. You need to check your compiler packaging. If you
decided to get a free compiler off the net somewhere, you should
probably turn your sights to another form of the reference manual,
like a web-based one (msdn2.microsoft.com for Microsoft compilers,
for example).

That said, you won't get much help on _how to use_ 'cin' because
what you looking for is not in a reference manual. They would just
tell you that 'std::cin' is an object of type 'std::istream'. Now,
how do you use that? You'd need to look for 'std::istream' and all
related stuff. And then you'll be making guesses or looking at
their [often riddled with errors] "examples". It's just not a good
use of a reference manual.

Get yourself a copy of a decent C++ learning book, *like* the
"Accelerated C++" by Koenig and Moo. And *study*.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top