Chapter 12. Math, Time, and Other Library Functions

C++ inherits all the functions of the old C-language library, improving on some of them by providing overloaded versions of the functions.

In some cases, C++ provides a better way to do something than was available in C: For example, the bsearch and qsort functions are largely superseded by Standard Template Library (STL) algorithms (see Chapter 18, “STL Algorithms”); but many of the functions in this chapter are still quite useful. This chapter covers the remainder of the C-language library, broken down into the following functional areas.

Image Trigonometric math functions

Other math functions, ...

Get C++ for the Impatient now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.