Solving problems in C ++ using STL

I am preparing for a programming contest, because we are solving the problems of programming in C ++.

Looking at the decisions of the previous year, they seem pretty easy (no more than 30 lines of code). I realized that they use STL extensively for easy manipulation - vectors, sets, maps, lists, as well as the algorithms available in STL.

Any site for beginners, like me, who want to know the features of STL and its use in solving problems?

Thanks in advance.

+6
c ++ stl
source share
3 answers

Like Scott Meyer, the excellent book Effective STL, which was recommended above, I can’t recommend the fairly high excellent book Accelerated C ++ by Andrew Koenig and Barbara E. Mu.

The book begins with the fact that you use STL at the beginning of the book, explaining their use in the context of initially simple problems. This book considers C ++ as its own language, and not as C with bits, bolts, the mechanics of class definition are not explained until later in the book.

+13
source share

Two books come to mind: Josuttis C ++ Standard Library (and its page for it ) and Meyers Effective STL

+15
source share

If you have the concept of non-STL C ++ and need to understand how the STL approach matches non-STL tags, I recommend this tutorial .

+1
source share

All Articles