exponential function

Answered

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
1 comment

Hi! Please add 

#include <cmath>

to the top of your code file.

1

Please sign in to leave a comment.