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;

之前

posted on 2006-02-11 01:58  cy163  阅读(5022)  评论(1编辑  收藏  举报

导航