missing ';' before identifier 'm_prop2'CProp3 m_prop3;

u010621149 2013-06-22 01:09:07
#if !defined(AFX_PROPSHEET_H__5B2D3A30_DDC2_472E_895E_E9BC0C6F0DE2__INCLUDED_)
#define AFX_PROPSHEET_H__5B2D3A30_DDC2_472E_895E_E9BC0C6F0DE2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropSheet.h : header file
//
#include"Prop1.h"
#include"Prop2.h"
#include"Prop3.h"
#include"Prop4.h"
/////////////////////////////////////////////////////////////////////////////
// CPropSheet

class CPropSheet : public CPropertySheet
{
DECLARE_DYNAMIC(CPropSheet)

// Construction
public:
CPropSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
CPropSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);

// Attributes
public:

// Operations
public:
CProp1 m_prop1;
CProp2 m_prop2;// missing ';' before identifier 'm_prop2'CProp3 m_prop3;
CProp4 m_prop4;

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPropSheet)
//}}AFX_VIRTUAL

// Implementation
public:
virtual ~CPropSheet();

// Generated message map functions
protected:
//{{AFX_MSG(CPropSheet)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROPSHEET_H__5B2D3A30_DDC2_472E_895E_E9BC0C6F0DE2__INCLUDED_)
...全文
63 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
u010621149 2013-06-22
  • 打赏
  • 举报
回复
对了
u010621149 2013-06-22
  • 打赏
  • 举报
回复
还是错误
oyljerry 2013-06-22
  • 打赏
  • 举报
回复
头文件是否包含正确

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧