I l @ ve RuBoard |
As people began to develop code, they noticed that they were coding the same things over and over again. For example, in every large C program, you'll probably find an implementation of a linked list. Since it's better to reuse than to rewrite, the designers of C++ have added a library of common containers (lists, arrays, and others) to the language. This library is known as the Standard Template Library or STL. These containers are designed as templates so that they can hold almost anything. The library provides not only the containers but also iterators that make access to the contents of a container easier. Finally, there are the algorithms that perform common functions on a container, such as sorting, merging two containers, locating elements, and other such functions. |
I l @ ve RuBoard |