Quote Originally Posted by norsul View Post
Ok thanks guys, I'll read the chapter
Read this as well.
http://cplusplus.com/reference/algorithm/

The best way to learn the STL is by reading AND doing. This website has example programs for all algorithms and containers. You'd be better off reading a variety of sources, not to memorize of course. The STL can be a bit overwhelming because there may be many things you'll never use. Familiarize yourself with the capabilities so that when you are designing something you will remember that there was this container/algorithm that might help. Maintain links to documentation and pick up a copy of an actual dedicated STL reference so that you have resources handy when you need to find a tool for a particular job. Having an understanding of the STL is like having a garage full of useful hand and power tools. You don't use every tool every day but when you need one you want them organized so that you can search for the correct tool for each job. Although it could take years of experience and study to really master C++, there are many STL algorithms and containers that are really very simple.