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 ...
Get C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.