+ 11

Maths in C++?

How can I use the functions like square root, cos, sin, absolute, power,... and all in C++? Do I have to include anything?

10th Dec 2016, 7:53 AM
Dapper Mink
Dapper Mink - avatar
2 Réponses
+ 11
Thanks!
10th Dec 2016, 8:39 AM
Dapper Mink
Dapper Mink - avatar
0
use class library math, whenever using math functions like include<math.h> to use functions just call and use them which ever u want like for square root int a=100; int b=sqrt(a);
10th Dec 2016, 8:09 AM
Morpheus
Morpheus - avatar