class Shapemaker
{
public:
static Shape * shapeCreate(CDrawView::shape sh);
};
我的 CDrawView 类的枚举是
enum shape{line, rect, elli};
shape current_shape;
当我打电话Shapemaker::shapeCreate(current_shape)
时,我收到错误 c2653 CDrawView
: is not a class or namespace name onshapemaker.h