c++ tutorial in pdf?

  • Thread starter Roy Sigurd Karlsbakk
  • Start date
R

Roy Sigurd Karlsbakk

hi

i was reading the c++ from http://www.cplusplus.com/, and it looks
really good. does anyone know where I can find this in a format more
optimised for printing, like one optimised html file or perhaps pdf?

thanks

roy
 
V

Victor Bazarov

Roy said:
i was reading the c++ from http://www.cplusplus.com/, and it looks
really good. does anyone know where I can find this in a format more
optimised for printing, like one optimised html file or perhaps pdf?

You can find Bruce Eckel's "Thinking in C++" on the Web. It's free and
it's not bad.

V
 
A

Alf P. Steinbach

* Roy Sigurd Karlsbakk:
hi

i was reading the c++ from http://www.cplusplus.com/, and it looks
really good.

It really is much better than the previous one they had; seems like
they've updated their stuff, and also fixed the presentation.

The first blatant error that I see by skimming by this, is in the
section on constants, <url:
http://www.cplusplus.com/doc/tutorial/constants.html>,

<quote>
const zipcode = 12440;

In case that no type is explicitly specified (as in the last example)
the compiler assumes that it is of type int.
</quote>

which is wrong.

Then follows a long stretch of (at least seemingly) good stuff, until
the next serious goof in <url:
http://www.cplusplus.com/doc/tutorial/functions2.html>, where the
explanation of 'inline' is wrong and misleading.

And so on -- much fewer serious goofs and errors, although the style
is very C-oriented (#define instead of constants, raw arrays instead of
std::vector, and so on), which is perhaps not ideal; worse there doesn't
seem to be any discussion of how to use and not abuse the language
features introduced, but then that's also a strength, permitting an
overview of the language in a relatively short text.
 

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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top