I am using Borland C++Builder 3.
I have included math.h
in my code.
When using this code:
float b;
b=pi();
I get the following compiler error:
call to undefined function pi()
I am using Borland C++Builder 3.
I have included math.h
in my code.
When using this code:
float b;
b=pi();
I get the following compiler error:
call to undefined function pi()
Use the M_PI
constant, not the pi()
function.