I have the following line: const int PI(acos(-1.00));
I am able to compile the program without errors even though I am not using cmath in the header, only stdafx.h, iostream and fstream.
Every website I look on acos is part of the cmath header.
When I cout PI I get 3.
What is the reason for acos working without cmath header?