Visual C++, pow(),error C2065: 'pow' : undeclared identifier

2月10在程序(Project20060210)中使用函数pow(x,y),虽然加上了#include <math.h>, 但出现下列错误,

error C2065: 'pow' : undeclared identifier

原因是

将#include <math.h>放在了
#include <vector>
#include <iostream>
using namespace std;

之前
原文地址:https://www.cnblogs.com/cy163/p/328708.html