我用debug32的时候,编译没有问题,而改为release32时,编译显示:
F:\vc\doc\docView.cpp(341) : error C2065: 'cos' : undeclared identifier
F:\vc\doc\docView.cpp(342) : error C2065: 'sin' : undeclared identifier我已经加了#include<math.h>
F:\vc\doc\docView.cpp(341) : error C2065: 'cos' : undeclared identifier
F:\vc\doc\docView.cpp(342) : error C2065: 'sin' : undeclared identifier我已经加了#include<math.h>
加的位置有没有问题,有没有不小心加到一对:
#ifdef _DEBUG
#endif
的当中去?