Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,474 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,868 people online right now. Registration is fast and FREE... Join Now!




stl algorithms

 
Reply to this topicStart new topic

stl algorithms, i'm looking for a book or a tutorial where i can learn something a

teach
6 Feb, 2008 - 02:16 AM
Post #1

New D.I.C Head
*

Joined: 2 Feb, 2008
Posts: 1

i'm looking for a book or a tutorial where i can learn something about stl algorithms(with examples)
User is offlineProfile CardPM
+Quote Post

Bench
RE: Stl Algorithms
6 Feb, 2008 - 02:42 AM
Post #2

D.I.C Addict
Group Icon

Joined: 20 Aug, 2007
Posts: 683



Thanked: 24 times
Dream Kudos: 150
Expert In: C/C++

My Contributions
Bruce Eckel's Thinking in C++ Volume 2 is a free e-book with a whole chapter on STL algorithms (ch6) - its mainly in tutorial/learn-by-example format (rather than reference format), but its worth a look
http://mindview.net/Books/TICPP/ThinkingInCPP2e.html

MSDN has this page with a whole lot of STL examples (it seems a bit jumbled, although I think its all standard C++, though there's always a danger that MS have slipped in some non-standard code)
http://msdn2.microsoft.com/en-us/library/f1dtts6s.aspx

Here's another reference (no examples) from Dinkumware, who are known for their STL implementations
http://www.dinkumware.com/manuals/default....e=algorith.html

and CPPreference (again, not a huge number of examples)
http://www.cppreference.com/cppalgorithm/


as for books, The C++ Standard Library by Nicolai M Jossutis is a fairly complete reference to the STL, with over 100 pages dedicated to the <algorithm> header, with good examples for each (And a whole lot more on functors, containers, iterators, etc) - that book is a bible to me when it comes to looking up individual parts of the STL.
User is online!Profile CardPM
+Quote Post

Amadeus
RE: Stl Algorithms
6 Feb, 2008 - 08:34 AM
Post #3

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,348



Thanked: 51 times
Dream Kudos: 25
My Contributions
TopCoder also has a pretty good overview of STL implementations:

http://www.topcoder.com/tc?module=Static&a...TemplateLibrary

User is online!Profile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/7/09 02:44PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month