What function can i use to get the cube root of a number?
-ty
What function can i use to get the cube root of a number?
-ty
you can use pow and pass one third as the power parameter. I don't use the standard libraries much so there might be a function devoted to it, but for now you can use that.
As far as I know there is no power function in C++. There is one in Java however.
Mr. C: Author and Instructor
the power function in c++ is pow(double x, double y) in cmath where x is the base and y is the exponent
edit::MadHatter beat me...