In C++ programs you would include <cmath>, which is the C++ version of the standard library header. Its contents are (mostly) the same as <math.h>, but it uses the std namespace.