Topic: good book on the C++ standard library


Author: detaylor@holli.com (David Taylor)
Date: 1997/08/08
Raw View
In article <33e8e096.1677025@news.ma.ultranet.com>,
phalpern@truffle.ma.ultranet.com (Pablo Halpern) wrote:

> I have not read any books that deal with the likes of string,
> valarray, and other parts of the library that are new to the
> draft C++ standard. So I, too, am looking ...

Try _The C++ Programming Language_, Third Edition, by Bjarne
Stroustrup.

  -- Dave
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: gustav@morpheus.demon.co.uk (Paul Moore)
Date: 1997/08/10
Raw View
On 05 Aug 1997 12:15:29 PDT, wkdugan@ix.netcom.com (Bill Dugan) wrote:

>On 04 Aug 1997 13:12:25 PDT, Doug Lo <jwlo@ms11.hinet.net> wrote:
>
>>Paul,
>>
>>There are the following C++ textbooks that I recommend you to use:
>>
>>"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.
>
>The 3rd edition is out now.

I can't find it in any shops in the UK. Can you tell me where I could
get it from?

Paul Moore.
------------------------------------------------------------------------
Paul Moore                                   gustav@morpheus.demon.co.uk
I asked my mother for a mind of my own, but she said no
------------------------------------------------------------------------
... DisneyLand: A people trap operated by a mouse.
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: "Laird Allshouse" <lairda@ncentral.com>
Date: 1997/08/10
Raw View
 Paul Moore wrote in article <33ec7ccc.397048@news.demon.co.uk>...

>On 05 Aug 1997 12:15:29 PDT, wkdugan@ix.netcom.com (Bill Dugan) wrote:
>
>>On 04 Aug 1997 13:12:25 PDT, Doug Lo <jwlo@ms11.hinet.net> wrote:
>>
>>>Paul,
>>>
>>>There are the following C++ textbooks that I recommend you to use:
>>>
>>>"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.
>>
>>The 3rd edition is out now.
>
>I can't find it in any shops in the UK. Can you tell me where I could
>get it from?
>
>Paul Moore.

Best prices on technical books I have found are at:

http://www.bookpool.com/

They will ship internationally.

Laird
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: wkdugan@ix.netcom.com (Bill Dugan)
Date: 1997/08/10
Raw View
On 10 Aug 97 02:37:13 GMT, gustav@morpheus.demon.co.uk (Paul Moore)
wrote:

>On 05 Aug 1997 12:15:29 PDT, wkdugan@ix.netcom.com (Bill Dugan) wrote:
>
>>On 04 Aug 1997 13:12:25 PDT, Doug Lo <jwlo@ms11.hinet.net> wrote:
>>
>>>Paul,
>>>
>>>There are the following C++ textbooks that I recommend you to use:
>>>
>>>"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.
>>
>>The 3rd edition is out now.
>
>I can't find it in any shops in the UK. Can you tell me where I could
>get it from?

I bought mine in California. I don't know when the U. K. bookstores
will have it. I believe some of the online booksellers like amazon.com
have it, but I'm not sure which ship to the U. K.
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: bs@research.att.com (Bjarne Stroustrup)
Date: 1997/08/10
Raw View
Paul Moore writes:

>On 05 Aug 1997 12:15:29 PDT, wkdugan@ix.netcom.com (Bill Dugan) wrote:
>
>>On 04 Aug 1997 13:12:25 PDT, Doug Lo <jwlo@ms11.hinet.net> wrote:
>>
>>>Paul,
>>>
>>>There are the following C++ textbooks that I recommend you to use:
>>>
>>>"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.
>>
>>The 3rd edition is out now.
>
>I can't find it in any shops in the UK. Can you tell me where I could
>get it from?

I saw the 3rd edition of "The C++ Programming Language" in Blackwell's
in Oxford two weeks ago. They had received a special shipment because of
the C/C++ Users' Association meeting that week. I expect the regular
shipments now have arrived in Europe or will arrive any day now.
ISBN 0-201-88954-4.

 - Bjarne

Bjarne Stroustrup, AT&T Research, http://www.research.att.com/~bs/homepage.html
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: jpotter@falcon.lhup.edu (John Potter)
Date: 1997/08/10
Raw View
gustav@morpheus.demon.co.uk (Paul Moore) wrote:

: On 05 Aug 1997 12:15:29 PDT, wkdugan@ix.netcom.com (Bill Dugan) wrote:
: >>"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.
: >The 3rd edition is out now.

: I can't find it in any shops in the UK. Can you tell me where I could
: get it from?

Try www.awl.co.uk.  It is off the press in July and may be hard to
find.  It is featured on the home page at www.awl.com
(www.aw.com/cp/stroustrup3d/).  You might also try aw's bookexpress.

John
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: tma@encore.com (Thanh Ma)
Date: 1997/08/11
Raw View
detaylor@holli.com (David Taylor) writes:

>In article <33e8e096.1677025@news.ma.ultranet.com>,
>phalpern@truffle.ma.ultranet.com (Pablo Halpern) wrote:

>> I have not read any books that deal with the likes of string,
>> valarray, and other parts of the library that are new to the
>> draft C++ standard. So I, too, am looking ...

>Try _The C++ Programming Language_, Third Edition, by Bjarne
>Stroustrup.

I wonder if one can get a discount anywhere for trading in the 1st, 2nd
editions of the book ?

Thanh
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: Paul Black <paul.black@vf.vodafone.co.uk>
Date: 1997/08/11
Raw View
bs@research.att.com (Bjarne Stroustrup) wrote:
 > Paul Moore writes:
 > >I can't find it in any shops in the UK. Can you tell me where I could
 > >get it from?
 >
 > I saw the 3rd edition of "The C++ Programming Language" in Blackwell's
 > in Oxford two weeks ago. They had received a special shipment because of
 > the C/C++ Users' Association meeting that week. I expect the regular
 > shipments now have arrived in Europe or will arrive any day now.
 > ISBN 0-201-88954-4.

Blackwell's in Reading had three copies when I went in on Saturday.
There were only two copies when I left :-)

Paul
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: pedwards@cs.wright.TOAST.edu (Phil Edwards)
Date: 1997/08/17
Raw View
[followups redirected]

Thanh Ma <tma@encore.com> wrote:
+ >Try _The C++ Programming Language_, Third Edition, by Bjarne
+ >Stroustrup.
+
+ I wonder if one can get a discount anywhere for trading in the 1st, 2nd
+ editions of the book ?

First edition, probably not.  (At least, I hope not -- Dr. Stroustrup
himself has posted an article somewhere on this topic, saying that the
language has changed considerably since the first edition, and that the
first edition should no longer be used as a reference or learning tool.)

Second edition, well, I don't think you'll get a discount, but I'm
probably just going to be giving my copy of 2nd edition to one of any
number of friends of mine who are doing "beginning work" in C++, and won't
need to know about the newer, more powerful stuff.

I'm sure high schools would appreciate donations, too.



Luck++;
/dev/phil

=> Incoming mail has reached unacceptable levels of spam/day; my address
    has been munged as a result.  Remove the TOAST. (duh) and mail away!
=> If you post a followup, please don't email a copy to me.  I read news
    often enough that replying to things twice is annoying.  But thanks.
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: Doug Lo <jwlo@ms11.hinet.net>
Date: 1997/08/04
Raw View
Paul,

There are the following C++ textbooks that I recommend you to use:

"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.
"C++ for C programmer",2nd by Ira Phol,Addision-Wesley.
"C++ How to program",by D&D,prentice-hall.

Hope this helps,
Doug.

Paul wrote:
>
> I looked through the FAQ and couldn't find anything about good books. I
> have VC5, and the documentation is shoddy [raise your hand if you're even
> mildly surprised. Anyone? ... I didn't think so.] and consists mostly of
> just listing the headers.
>
> Are there any good books which are not insulting to the average
> intelligence ("Learn Expert C++ in 21 Days", "The C++ Standard Library for
> Dummies", "Master C++ Expert Visual Standard Library Java Hype Something",
> etc.) that I can get? I've been programming for about 8 years now, and need
> more of a decent reference than a tutorial.
>
> Please post and e-mail back to me ...
> -paul
>
> --
> "When I am king, you will be fetched against the wall /
> with your opinions which are of no consequence at all."
>
> Paul Fagerburg
> pfagerburg@sprynet.com
> http://home.sprynet.com/sprynet/pfagerburg
>
> My response to unsolicited e-mail adverts (a.k.a. "Spam")
> is simple: I will NEVER buy your product. If you want to
> advertise to me, use bulk [snail] mail; at least that
> doesn't cost me money to receive it.
> ---
> [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
> [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
> [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
> [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
> [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: wkdugan@ix.netcom.com (Bill Dugan)
Date: 1997/08/05
Raw View
On 04 Aug 1997 13:12:25 PDT, Doug Lo <jwlo@ms11.hinet.net> wrote:

>Paul,
>
>There are the following C++ textbooks that I recommend you to use:
>
>"The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.

The 3rd edition is out now.
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: "Jeff R. Hayes" <jrh1@osi.com>
Date: 1997/08/05
Raw View
Doug Lo wrote:

> There are the following C++ textbooks that I recommend you to use:
>
> "The C++ programming language",2nd by Bjarne Stroustrup,Addison-Wesley.

And now there's:
 "The C++ programming language",3nd by Bjarne Stroustrup,Addison-Wesley.

This has Part III (chapters 16-22: 230 pages) devoted to the
C++ Standard Library.
--

Cheers,
--Jeff

                    ^  ^
=-=-=-=-=-=-=-=-^^^-O  O-^^^=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jeff Hayes           <      | voice: +1 916 353-2400 ext. 2735
                    -O-     | email: Jeff.Hayes@osi.com
Objective  -----  o         |     2: Jeff.Hayes@oro.net
Systems   -----  /\<:       | '93 Yamaha YZ250E1 - '84 Yamaha   IT200L
Integrators - (o)/ (o)      | XXXXXXXXXXXXXXXXXX - '84 Kawasaki GPz900R
               Fight Spam: http://spam.abuse.net/spam/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: phalpern@truffle.ma.ultranet.com (Pablo Halpern)
Date: 1997/08/07
Raw View
Heinz Kohl <kohl@informatik.uni-stuttgart.de> wrote:

>You shouldn't expect to get a good book for a damned bad language like
>C++ :

[Aside: I thought advocacy was against the moderation principles in this
newsgroup. This certainly has nothing to do with the C++ standardization
effort. Not that I necessarily disagree with some of the sentement...]

Now to the title of this thread: The only books I am familiar with deal
exclusively with what has been called STL, i.e., the standard
containers, iterators, algorithms and adaptors.  I have not read any
books that deal with the likes of string, valarray, and other parts of
the library that are new to the draft C++ standard. So I, too, am
looking for a good book or two. (Regardless of whether the C++ is a
worthwhile language, I *do* need it to make my living.)


-------------------------------------------------------------
Pablo Halpern                   phalpern@truffle.ultranet.com

I am self-employed. Therefore, my opinions *do* represent
those of my employer.
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: James Kuyper <kuyper@wizard.net>
Date: 1997/07/23
Raw View
Heinz Kohl wrote:
[A long (and oddly formatted) rant against the complexity of C/C++]

I think that anyone who knows C could sympathize with your complaint.
However, your message would have been far more useful if you had done at
least one of the following (in order of increasing usefulness):

1. Recommended one or more alternative languages that could be used
instead of C/C++, preferably ones that are good at the same types of
general purpose low level programming that is the mainstay of C/C++.

2. Pointed out specific defects, and explained why they are defects.

3. Suggested ways of fixing the defects.
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: Max Polk <maxpolk@gte.net>
Date: 1997/07/20
Raw View
Paul wrote:
> Are there any good books which are not insulting to the average
> intelligence ... that I can get? I've been programming for about 8
> years now, and need more of a decent reference than a tutorial.

I'm sure several are good.  I like "STL Tutorial and Reference Guide",
subtitled "C++ Programming with the Standard Template Library", by David
R. Musser and Atul Saini, part of the Addison-Wesley Professional
Computing Series, in its THIRD printing, but this ISBN 0-201-63398-1 is
for the FIRST printing in 1996.

Obviously you shouldn't get anything too old!

About 40% of the book is a reference guide, and the first 60% is a
tutorial.  It is very professionally and well written.  David Musser
worked with Alexander Stepanov to develop the first implementation of
the STL, which makes me feel he will do a better job writing about it
than any old bloke.
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: Heinz Kohl <kohl@informatik.uni-stuttgart.de>
Date: 1997/07/23
Raw View
Paul wrote:
>
> I looked through the FAQ and couldn't find anything about good books. I
> have VC5, and the documentation is shoddy [raise your hand if you're even
> mildly surprised. Anyone? ... I didn't think so.] and consists mostly of
> just listing the headers.
>
> Are there any good books which are not insulting to the average
> intelligence ("Learn Expert C++ in 21 Days", "The C++ Standard Library for
> Dummies", "Master C++ Expert Visual Standard Library Java Hype Something",
> etc.) that I can get? I've been programming for about 8 years now, and need
> more of a decent reference than a tutorial.

You shouldn't expect to get a good book for a damned bad language like
C++ :
- C is the worst low level language in the tradition of the sixties
beside of BCPL.
  To show the philosophy behind C I state the following: for cheap
simple architectures like
  that of the PDP11/40 Unix will be a possible system, because it will
run with 64KB
  main memory and fit to a 5MB disk. This system will be programmable in
a more
  flexible manner than RSX11, because ed (and later vi) will always
allow to go
  back even to the starting point of the source. The human brain is
huge, therefore
  it's natural to think small and cryptic - the unix shells are a small
remainder to this
  heroic times. It's sad, but for a wide public hacking toward modern
Unix it'll be
  necessary to make as a bad compromise a programming aid tool named C.
  Clearly, it'll be unnecessary and bad to make programming errors,
  and syntax is only a possibility for making errors. So, 80% of all
strings in the world,
  including most stories of the bible, were translated as valid C
programs, and it was good so.
  Real programmers don't need more. But soon the desaster begun. There
were weak characters
  unable to understand their own work. May be one of them heard about
FORTRAN or even ALGOL60.
  Therefore the first CASE-tool was born: lint. No, not a compiler, but
the first syntax
  checker for C. A bit later there comes the next shock: functions with
parameters! Disgusting!
- C++ is a compromise including all of the weak concepts (concepts?) of
C.
  When I was a novice C++-programmer, I thaught, in an object oriented
language it will be
  possible to avoid the C 'features'. No, it's impossible. You need them
to make work arounds
  to the troubles of the 'modern' concepts of C++. C++ is a language in
deep devoteness to
  the weird god of C. Really, Stroustrup has won the contests for the
best real programmers
  language of all times and the most famous masochists language.
- And now, look at the C++-proposal! Some thousend pages! Do you really
expect, somebody has
  a clear sight over this project and is able to compose it in a
consistent manner?
  And: have you ever seen as many cooks cooking a meal?
- C++ is NOT a language for thinking people
- You couldn't expect to see experts to write about C++. Even the first
examples of books about
  C++ are from Stroustrup (much too thick, unreadable) and Lippmann
(much too thick, too silly.
  Maybe bearable for a novice programmer).
- A book with a hundred pages should reach to learn a programming
language.
  Even for C++ - but look at a mountain of ice swimming in the sea.
  If there's a programming language which main concepts could not be
described in less
  than hundred pages: dont use it!
  In a hundred pages there could be three times more information than in
the 600 pages of Lippman.
  And it could be possible to seek the information you need now.
  But don't expect, a man which is able to go through C++ is able to
write such a book.
  Looking at the programming books in a modern library, you can see two
facts:
  - paper is too cheap
  - there is a lot of silly guys buying books at the base 'most paper
pro cent'.
  - only persons without programming knowledge tends to write
programming books now.
    They are not expert enough to make thin books.
  - as a book writer, you get only money for writing pages, not for
avoiding unnecessary pages.
  - some years ago, I wrote a PL/I-book:
    I got a contract to 'write a book about PL/I with 200 pages'. Do you
see the problem?
    (to test the programs and exercises I've gotten exactly deutsch
marks 0.-)
- If you're programming in C++, you will soon see yourself struggling
through the problems
  like the ancient god prometheus after his loss against zeus &Co.

                        www
                       (o o)
      +----------oOO----(_)----------------------+
      | Dipl.-Ing. Heinz Kohl                    |
      | E-Mail: kohl@informatik.uni-stuttgart.de |
      +-----------------------oOO----------------+
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]