0
How to do maths in c++(advanced)?
For example trig functions,calc functions,
2 odpowiedzi
0
include the math header file
and you can then use
functions like sin(), cos(), exp() etc.
However keep in mind, that the trig. functions take input values in radians and not degrees.
As for calc functions C does not perform symbolic maths.
But maybe you can look up for some custom header files for them...