I'm doing my homework in C++ Builder 6.
When I try to get a cubic root from variable X, I get this error:
result = std::pow(x, 1.0 / 3);
E2015 Ambiguity between "std::pow(double,double)" and "std::pow(float, int)"
What should i do to fix this? Or may be there is another way to get a cubic root?