O'Reilly logo

C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Second Edition by Brian Overland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

16. Easy Programming with STL

I couldn’t really introduce the Standard Template Library (STL) without first introducing the core C++ language and the basics of dealing with classes and pointers. But now that you’ve mastered those ideas, not only will you find the STL useful, but you may end up loving it. It makes some complex programming tasks much easier.

These days, the great majority of C++ compilers in wide use now provide full support for STL. (If you have one of the rare compilers that doesn’t, of course, you may want to skip this chapter.) If your compiler is C++0x compliant, it should definitely support STL.

Introducing the List Template

STL—again, that’s the Standard Template Library—provides broad support for new classes, mostly in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required