O'Reilly logo

C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Third 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

13. Easy Programming with STL

One of the best things about C++ is the availability of the Standard Template Library (STL), which now comes with most compilers.

A template is a generalized data type you can use to create sophisticated containers. For example, the list template enables you to build linked lists of integers, floating-point numbers, or even your own kind of objects.

Don’t worry if this sounds new or exotic. The STL is an amazing resource that solves many common programming problems. The general philosophy—as with functions, classes, and objects—is: once a programming problem is solved, why should anyone have to solve it again?

These days, the great majority of C++ compilers widely used now provide full support for STL. If your compiler ...

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