tags:

views:

604

answers:

10

This question is a lot like Good book for learning the C++ standard template library? but aimed at the cash-strapped student type. I remember searching for some reference material about the STL a while back, but I couldn't find any good links.

Are there any worthwile free tutorials / references / best-practises available?

+8  A: 

I suggest "Effective STL" by Scott Meyers.

Also here is free online STL guide.

Good luck!

Serge
I definitely recommend Meyer's book, but not necessarily as a first way to learn about the STL. Josuttis' book recommended by Pat Notz is probably a better reference for learning overall STL. Meyer's book is a must have for continued usage.
twokats
Oops - I see others have recommended Josuttis' book as well - didn't mean to exclude them. It's a very good reference.
twokats
+1  A: 

CPlusPlus.com has a pretty readable, though incomplete, STL reference.

The Dinkumware Compleat Reference is complete and detailed, but possibly tough for a beginner.

See also the Best C++ Resource question.

Sam Stokes
+1 for the less well known, but good links
Robert Gould
+3  A: 

Volume 2 of Bruce Eckel's Thinking in C++ is a good place to start. It's also free!

Firas Assaad
+1  A: 

A modest STL tutorial

Ismael
But #include <iostream.h> and other Standard Library files with .h-suffixes aren't modern anymore...
jk
+1  A: 

For quick references, I often go turn myself to cppreference.com.

I always find what I need there...

skinp
+5  A: 

I know that you mentioned "free" but I believe that learning to use the STL, particularly mastering the concepts behind it, is useful enough to warrant the purchase of, and the time spent reading, a book. To that end, I would highly recommend "The C++ Standard Library" by Nicolai Josuttis.

Jon Trauntvein
+4  A: 

The C++ Standard Library: A Tutorial and Reference is an excellent book for both learning and reference. Perhaps you can barrow it from a friend or library.

Pat Notz
+2  A: 

STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library is a good book, but personally when developing and I need to know anything about the STL I keep the libstdc++ API documentation open next to me, but this won't teach you anything about generic programming though.

amo-ej1
+1  A: 

This book helped me a lot understanding the "STL way":

Generic Programming and the STL: Using and Extending the C++ Standard Template Library

And it is also a really great reference once you learned how to use the STL.

Fionn
This is the only book I use for the STL
camh
If you're cash strapped, find this book in a library and read the first section. It's not that long and gives a great intro to how the STL is put together. For reference use SGI's website that has the same reference material as this book, www.sgi.com\tech\stl
Matt Price