Thread: learning STL

  1. #1
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    715

    learning STL

    Hi,
    I've been programming in C++ for a while and learned about datastructure, algorithms etc. For example every time I need to solve some problem using linked list I coded one or use the one I created earlier. Now I can see that practically a lot of things already exists in C++ libraries. If someone of you have konw some good link to lern STL it would be good to recommend because I'm wasitng time writing code that is error prone when already someone else wrote it and tested it. Problem is I don't know what is there and what isn't. Often I don't know what to seek for.
    I don't know what is good way to start learning or where I can find good tutorials on STL.
    I know there are a lot of experienced programmers on this boars and would appreciate any help.
    Thanks!

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Well, here are the basic, non-free sources:
    The C++ Programming Language
    The C++ Standard Library: A Tutorial and Reference

    There's the STL reference at SGI: http://www.sgi.com/tech/stl/

    For everthing else there's google, but there's alot of pre-standard information out there that may mislead you. I'd get the books

    gg

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    IMO, don't feel bad about learning how to do it yourself before learning the Standard Template Library. The debate about when to learn STL will never end.

  4. #4
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    In addition to the books recommended by Codeplug (both of which are sitting on my desk next to me), Effective STL will help you, especially since you are not a beginner.

    I read Stroustrup's explanations first, then used Josuttis as a reference while using the STL in my code a lot, and finally read Meyers to pick up new information. Also, the Non-Visual C++ forum at codeguru tends to have lots of good nuggets of information on how to use the library's containers and algorithms together. That's how I learned and I feel pretty comfortable using the STL in my code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Machine Learning with Lego Mindstorms
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-30-2009, 02:34 PM
  2. Need Help On a Simple Bank Program
    By oobootsy1 in forum C# Programming
    Replies: 9
    Last Post: 08-08-2005, 10:51 AM
  3. im extreamly new help
    By rigo305 in forum C++ Programming
    Replies: 27
    Last Post: 04-23-2004, 11:22 PM
  4. Prime Number Generator... Help !?!!
    By Halo in forum C++ Programming
    Replies: 9
    Last Post: 10-20-2003, 07:26 PM
  5. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM