exponential function

已回答

in visual studio when you are dealing with exponents there is a built in function called pow

example: pow(x, 2) = x^2

is there an equivalent for clion or any way for me to use an exponent?

i am getting an error when i am doin it this way.

0

Hi! Please add 

#include <cmath>

to the top of your code file.

1

请先登录再写评论。