C++ Programming/Standard Headers
From Wikibooks, the open-content textbooks collection
[edit] Standard Headers
| Standard Template Library | ||||||||
|---|---|---|---|---|---|---|---|---|
and the
| Standard C Library | |||||
|---|---|---|---|---|---|
Everything inside C++'s standard library is kept in the std:: namespace.
Old compilers may include headers with a .h suffix (e.g. the non-standard <iostream.h> vs. the standard <iostream>) instead of the standard headers. These names were common before the standardization of C++ and some compilers still include these headers for backwards compatibility. Rather than using the std:: namespace, these older headers pollute the global namespace and may otherwise only implement the standard in a limited way.
Some vendors use the SGI STL headers. This was the first implementation of the standard template library.
| Non-standard but somewhat common C++ libraries | ||
|---|---|---|