class CRgnEx : public CRgn
{
public:
CRgnEx() {};
virtual ~CRgnEx() { DeleteObject(); }; CRgnEx(const CRgnEx& copy) { CreateRectRgn(0,0,0,0); CopyRgn((CRgn*)(&copy)); };
operator= (const CRgnEx& copy) { CreateRectRgn(0,0,0,0); CopyRgn((CRgn*) (&copy)); };
};编译问题:>c:\users\administrator\documents\visual studio 2005\projects\xgraph_demo\include\gfxutils.h(70) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int,双击此问题,定在operator这一行,不知都是什么问题,目前此工程是在VS2005下编译的,求大牛帮忙分析下,谢谢