我是一个vc的初学者,每次我在编程时老是把类的的名字写错,但是有进行到下一步才发现。这种情况下,如何修改类的名字?请高手指点:
例如:IMPLEMENT_DYNCREATE(Prop1, CPropertyPage)Prop1::Prop1() : CPropertyPage(Prop1::IDD)
{
//{{AFX_DATA_INIT(Prop1)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}Prop1::~Prop1()
{
}void Prop1::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Prop1)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Prop1, CPropertyPage)
//{{AFX_MSG_MAP(Prop1)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()在这个程序中,应该把类定义为CProp但是我定义成了Prop,而且要求的是CProp。我应该如何把他修改为CProp