Home Forums Re: How to get started with Standard Template


The  (STL) is a general-purpose C++ library of algorithms and data structures, originated by Alexander Stepanov and Meng Lee. The STL, based on a concept known as generic programming, is part of the standard ANSI/ISO C++ library. The STL is implemented by means of the C++ template mechanism, hence its name. While some aspects of the library are very complex, it can often be applied in a very straightforward way, facilitating reuse of the sophisticated data structures and algorithms it contains.

A complete introduction to the STL can be found by consulting the references below. For starters, though, a small number of classes and algorithms can be very useful:

    The string class
    The vector container template
    The sort algorithm
    The list container template
    The iterator classes
    The find algorithm

MYCPLUS Online Community