Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   Good book for learning STL for newbie? (http://www.velocityreviews.com/forums/t281149-good-book-for-learning-stl-for-newbie.html)

prashna 02-05-2004 11:21 AM

Good book for learning STL for newbie?
 
Hi all,
Could anyone recomend me a good book for learning STL?I have just
started learning C++ ( I have read C++ PRIMER).I would like to have a
book which has lot's of examples and should not be very expensive. One
of my freind recomended STL Tutorial and Reference Guide, by David
Musser and Atul Saini.Any Idea of how good this book is for beginners?

Thanks,
Ashwath

Fred H 02-05-2004 12:09 PM

Re: Good book for learning STL for newbie?
 

> Could anyone recomend me a good book for learning STL?


This is a really good one:

Name: The C++ Standard Library - A Tutorial and Reference
Author: Nicolai M. Josuttis
ISBN: 0201379260

I have it, and I'm very pleased with it.

--
Fred H

void FredH::Contact() {
TextToSpeach.say("frode at age dee dee dot en oh");
}

Jeff Schwab 02-05-2004 02:21 PM

Re: Good book for learning STL for newbie?
 
prashna wrote:
> Hi all,
> Could anyone recomend me a good book for learning STL?I have just
> started learning C++ ( I have read C++ PRIMER).I would like to have a
> book which has lot's of examples and should not be very expensive. One
> of my freind recomended STL Tutorial and Reference Guide, by David
> Musser and Atul Saini.Any Idea of how good this book is for beginners?


Folks here seem to love the Josuttis std. library book. I own it, and
it's a great reference, by I found this much more useful when I was
first learning about the library:

http://www.awprofessional.com/catalog/product.asp?product_id={1E309761-654D-4793-84D0-A6F687965ABB}&session_id={781B0F22-B5AD-48EA-BE55-60F96570C160}

A lot of folks here seem to use the terms "standard library" and "STL"
interchangeably, too. If you actually need an introduction to the whole
standard library, go with the Josuttis book. If you're comfortable with
strings and streams, but iterators and containers are still mysterious
to you, the Addison-Wesley book may be more useful to you.


Martijn Lievaart 02-05-2004 02:26 PM

Re: Good book for learning STL for newbie?
 
On Thu, 05 Feb 2004 12:09:59 +0000, Fred H wrote:


>> Could anyone recomend me a good book for learning STL?

>
> This is a really good one:
>
> Name: The C++ Standard Library - A Tutorial and Reference Author:
> Nicolai M. Josuttis
> ISBN: 0201379260
>
> I have it, and I'm very pleased with it.


So am I, it is a must have. I use it almost daily. But it's not a very
good tutorial, even if it is *way* better than most.

Unfortunately, I don't have an alternative except to say that there is a
lot of rubbish out there. You might want to use google to search this
group (add alt.comp.lang.learn.c-c++ as well) to see if it is recommended
or not. Also, maybe even before that, have a look at the accu website,
(www.accu.org) they have lot's of reviews. Something there should suit
your needs and they'll warn you away from the bad ones.

You mention that it should not be to expensive, but truth to tell, a good
programmer needs good books. Note the plural. My advice:

1) Get Josuttis. You'll want it anyhow. Never mind the cost, it's worth it
thrice.

2) If it's tutorial part is not what you want, search another tutorial and
get that as well.

3) Get "Effective STL" by Meyers. It's the other must-have for the STL.
Get this last, but do get it.

As an alternative to step 2, there are some very good C++ tutorials that
teach enough STL to get you going with the Josuttis book. So maybe you
should get something like "Accellerated C++" (Koenig and Moo) or "Thinking
in C++" (Eckel) instead of a pure STL tutorial.

A last alternative is to skip step 2 completely and rely on newsgroups.
This can be very effective for those that are quick learners.

HTH,
M4


jeffc 02-05-2004 03:00 PM

Re: Good book for learning STL for newbie?
 

"Martijn Lievaart" <m@remove.this.part.rtij.nl> wrote in message
news:pan.2004.02.05.14.26.51.616498@remove.this.pa rt.rtij.nl...
> On Thu, 05 Feb 2004 12:09:59 +0000, Fred H wrote:
>
>
> >> Could anyone recomend me a good book for learning STL?

> >
> > This is a really good one:
> >
> > Name: The C++ Standard Library - A Tutorial and Reference Author:
> > Nicolai M. Josuttis
> > ISBN: 0201379260
> >
> > I have it, and I'm very pleased with it.

>
> So am I, it is a must have. I use it almost daily. But it's not a very
> good tutorial, even if it is *way* better than most.


I'd say that sums it up pretty well.



jeffc 02-05-2004 03:04 PM

Re: Good book for learning STL for newbie?
 

"Jeff Schwab" <jeffplus@comcast.net> wrote in message
news:zbednZsMTpuOzr_dRVn-uQ@comcast.com...
>
> Folks here seem to love the Josuttis std. library book. I own it, and
> it's a great reference, by I found this much more useful when I was
> first learning about the library:
>
>

http://www.awprofessional.com/catalog/product.asp?product_id={1E309761-654D-
4793-84D0-A6F687965ABB}&session_id={781B0F22-B5AD-48EA-BE55-60F96570C160}

That's a link to the first edition. Presumably one would want the second
edition
http://makeashorterlink.com/?T5EE22E47

But in that case, Bookpool, as usual, is better
http://www.bookpool.com/.x/ahwprnjmf...?qs=stl+musser



Don Kim 02-05-2004 10:16 PM

Re: Good book for learning STL for newbie?
 
> Could anyone recomend me a good book for learning STL?I have just
> started learning C++ ( I have read C++ PRIMER).I would like to have a
> book which has lot's of examples and should not be very expensive. One
> of my freind recomended STL Tutorial and Reference Guide, by David
> Musser and Atul Saini.Any Idea of how good this book is for beginners?


Here's one I found quite useful:

C++ Standard Library From Scratch (From Scratch)
by Pablo Halpern (Author)

a.. Publisher: Que; 1st edition (November 15, 1999)
a.. ISBN: 0789721287

You learn the library within the context of building a program called
TinyPIM. This helps keep your interests up, since you learn how to apply
the library for a useful and moderately sized project (about a couple
thousand lines of code). After this, you can then read Josuttis and apply
some of the more advanced stuff from his book to extend the PIM from the
Halpern book.

Here's a link toAmazon:

http://www.amazon.com/exec/obidos/tg...glance&s=books

Good luck.

-Don




Jon Bell 02-06-2004 12:44 AM

Re: Good book for learning STL for newbie?
 
In article <d40d7104.0402050321.564ba34a@posting.google.com >,
prashna <vashwath@rediffmail.com> wrote:
>Hi all,
>Could anyone recomend me a good book for learning STL?I have just
>started learning C++ ( I have read C++ PRIMER).


Koenig and Moo, "Accelerated C++", will get you started. It's actually a
beginner's C++ book, but it uses the standard library earlier and more
thoroughly than any other beginner's C++ book that I've seen.

--
Jon Bell <jtbellm4h@presby.edu> Presbyterian College
Dept. of Physics and Computer Science Clinton, South Carolina USA

jeffc 02-06-2004 04:27 PM

Re: Good book for learning STL for newbie?
 

"Jon Bell" <jtbellj3p@presby.edu> wrote in message
news:bvuo1c$hlr$1@jtbell.presby.edu...
> In article <d40d7104.0402050321.564ba34a@posting.google.com >,
>
> Koenig and Moo, "Accelerated C++", will get you started. It's actually a
> beginner's C++ book...


<nit>A *C++* beginner's book (as opposed to programming beginner.)




All times are GMT. The time now is 10:12 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.