Problems with math.h

Hello,

I am student here in Heidelberg and we got some homework to do. The homework requires me to use math.h . Whenever I type in math.h I get the following message: "No manual entry for math.h"

Any ideas what I can do?

Thanks in advance.

Tobias
You should be using it in a program. For example:
1
2
3
4
5
6
7
8
#include <iostream>
#include <math.h>

int main()
{
    std::cout << cos(0.0) << std::endl;
    return 0;
}
Last edited on
Topic archived. No new replies allowed.