Main.cc: In function ‘int main()’: Main.cc:8:23: error: ‘pow’ is not a member of ‘std’ result = a * std::pow(x, 3) + b * std::pow(x, 2) + c * x + d; ^~~ Main.cc:8:44: error: ‘pow’ is not a member of ‘std’ result = a * std::pow(x, 3) + b * std::pow(x, 2) + c * x + d; ^~~