RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: C++
Expertise: Intermediate
Jul 16, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

The Organization of STL Header Files: Algorithms, Iterators, Numerics and Other

You can apply STL generic algorithms to a sequence of elements. They are defined in the header file <algorithm>. (on pre-standardized implementations, the name <algo.h> is used instead). Iterators are used to navigate sequences and are defined in the header file <iterator>.

STL also provides several classes and algorithms that are specifically designed for numeric computations. These classes and algorithms are defined in these headers:

<complex>  // complex numbers and their associated operations
<valarray>  // mathematical vectors and their associated operations
<numerics>  // generalized numeric operations

Finally, three additional headers contain auxiliary components that are used in STL containers and algorithms, but you can also use them independently. These headers are:

<utility>	  // operators and pairs
<functional>  // function objects
<memory>  // allocators and auto_ptr
Danny Kalev
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date