The STL headers are arranged into two groups of files—one for the containers and another for the algorithms. The container class header files have the following naming convention:
Using this convention, you can include the headers in a file by using the line:
Note that this line specifies the default compiler include search path for the libraries, which should be located in the \include directory or one of its subdirectories. These files have the .h extension, even though it’s not included here.
The STL algorithms can be found in the algorithms.h file, which is included with this code:
Again, its location may vary depending on the compiler setup being used.