// ColFile.h: interface for the CColFile class.
//
//////////////////////////////////////////////////////////////////////#if !defined(AFX_COLFILE_H__5D905E7A_E3B0_11D6_92A8_5254A4DD2FC2__INCLUDED_)
#define AFX_COLFILE_H__5D905E7A_E3B0_11D6_92A8_5254A4DD2FC2__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CColFile : public CObject
{
DECLARE_SERIAL(CColFile)
public:
CString m_strShell;
CString m_strPath;
int m_nState; // 正常0, 加密 1
int m_nType; // 完全加密0, 部分加密1
CString m_strName;
CColFile();
const CColFile& operator =(const CColFile& s)
{
m_strShell = s.m_strShell;
m_strPath = s.m_strPath;
m_nState = s.m_nState;
m_nType = s.m_nType;
return *this;
} BOOL operator ==(const CColFile& s) const
{
if ((m_strName == s.m_strName) && (m_strPath == s.m_strPath))
{
return TRUE;
}
else
{
return FALSE;
}
} BOOL operator !=(const CColFile& s) const
{
return !(*this == s);
}
public:
virtual void Serialize(CArchive& ar);
virtual ~CColFile();
#ifdef _DEBUG
void Dump(CDumpContext& dc) const;
#endif // _DEBUG};typedef CTypedPtrList<CObList, CColFile*> CColFileList;class CCls : public CObject
{
DECLARE_SERIAL(CCls)
public:
CString m_strName;
CColFileList* m_pColFileList;
CCls();
const CCls& operator =(const CCls& s)
{
m_strName = s.m_strName;
m_pColFileList = s.m_pColFileList;
return *this;
} BOOL operator ==(const CCls& s) const
{
if ((m_strName == s.m_strName) && (m_pColFileList == s.m_pColFileList))
{
return TRUE;
}
else
{
return FALSE;
}
} BOOL operator !=(const CCls& s) const
{
return !(*this == s);
}
public:
virtual void Serialize(CArchive& ar);
virtual ~CCls();
#ifdef _DEBUG
void Dump(CDumpContext& dc) const;
#endif // _DEBUG};typedef CTypedPtrList<CObList, CCls*> CClsList;#endif // !defined(AFX_COLFILE_H__5D905E7A_E3B0_11D6_92A8_5254A4DD2FC2__INCLUDED_)// 编译出错部分信息如下::
--------------------Configuration: Collector - Win32 Debug--------------------
Compiling...
ColFile.cpp
h:\项目\collector\colfile.h(23) : error C2143: syntax error : missing ')' before 'constant'
h:\项目\collector\colfile.h(23) : error C2143: syntax error : missing ';' before 'constant'
h:\项目\collector\colfile.h(23) : error C2059: syntax error : 'constant'
h:\项目\collector\colfile.h(23) : error C2059: syntax error : ')'
h:\项目\collector\colfile.h(24) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
h:\项目\collector\colfile.h(33) : error C2143: syntax error : missing ')' before 'constant'
h:\项目\collector\colfile.h(33) : error C2143: syntax error : missing ';' before 'constant'
h:\项目\collector\colfile.h(33) : error C2059: syntax error : 'constant'
h:\项目\collector\colfile.h(33) : error C2059: syntax error : ')'
h:\项目\collector\colfile.h(34) : error C2334: unexpected token(s)
//
//////////////////////////////////////////////////////////////////////#if !defined(AFX_COLFILE_H__5D905E7A_E3B0_11D6_92A8_5254A4DD2FC2__INCLUDED_)
#define AFX_COLFILE_H__5D905E7A_E3B0_11D6_92A8_5254A4DD2FC2__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CColFile : public CObject
{
DECLARE_SERIAL(CColFile)
public:
CString m_strShell;
CString m_strPath;
int m_nState; // 正常0, 加密 1
int m_nType; // 完全加密0, 部分加密1
CString m_strName;
CColFile();
const CColFile& operator =(const CColFile& s)
{
m_strShell = s.m_strShell;
m_strPath = s.m_strPath;
m_nState = s.m_nState;
m_nType = s.m_nType;
return *this;
} BOOL operator ==(const CColFile& s) const
{
if ((m_strName == s.m_strName) && (m_strPath == s.m_strPath))
{
return TRUE;
}
else
{
return FALSE;
}
} BOOL operator !=(const CColFile& s) const
{
return !(*this == s);
}
public:
virtual void Serialize(CArchive& ar);
virtual ~CColFile();
#ifdef _DEBUG
void Dump(CDumpContext& dc) const;
#endif // _DEBUG};typedef CTypedPtrList<CObList, CColFile*> CColFileList;class CCls : public CObject
{
DECLARE_SERIAL(CCls)
public:
CString m_strName;
CColFileList* m_pColFileList;
CCls();
const CCls& operator =(const CCls& s)
{
m_strName = s.m_strName;
m_pColFileList = s.m_pColFileList;
return *this;
} BOOL operator ==(const CCls& s) const
{
if ((m_strName == s.m_strName) && (m_pColFileList == s.m_pColFileList))
{
return TRUE;
}
else
{
return FALSE;
}
} BOOL operator !=(const CCls& s) const
{
return !(*this == s);
}
public:
virtual void Serialize(CArchive& ar);
virtual ~CCls();
#ifdef _DEBUG
void Dump(CDumpContext& dc) const;
#endif // _DEBUG};typedef CTypedPtrList<CObList, CCls*> CClsList;#endif // !defined(AFX_COLFILE_H__5D905E7A_E3B0_11D6_92A8_5254A4DD2FC2__INCLUDED_)// 编译出错部分信息如下::
--------------------Configuration: Collector - Win32 Debug--------------------
Compiling...
ColFile.cpp
h:\项目\collector\colfile.h(23) : error C2143: syntax error : missing ')' before 'constant'
h:\项目\collector\colfile.h(23) : error C2143: syntax error : missing ';' before 'constant'
h:\项目\collector\colfile.h(23) : error C2059: syntax error : 'constant'
h:\项目\collector\colfile.h(23) : error C2059: syntax error : ')'
h:\项目\collector\colfile.h(24) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
h:\项目\collector\colfile.h(33) : error C2143: syntax error : missing ')' before 'constant'
h:\项目\collector\colfile.h(33) : error C2143: syntax error : missing ';' before 'constant'
h:\项目\collector\colfile.h(33) : error C2059: syntax error : 'constant'
h:\项目\collector\colfile.h(33) : error C2059: syntax error : ')'
h:\项目\collector\colfile.h(34) : error C2334: unexpected token(s)
不管用啊 真是怪事!!!!!!!!!!!
然后重新编译
/* */
/* */
/* */
/* MMMMMMMMMMM MMM */
/* MMMMM MMMMM MMMMM */
/* MMM MMMM MM */
/* MMM MMM MM */
/* MMMM MM MM */
/* MMM MM MM */
/* MMMM MMMMMMM MMMMMMM MMMMMMM MM */
/* MMMM MMMMMMMMMM MMMMMMMMMM MMMMMMMMMMM */
/* MMMM MMM MMM MMM MMM MMM MMMM */
/* MMMM MMMM MMM MMMM MMM MMM MMM */
/* MMMM MMMMMMMM MMM MMM MMM MMM MMM MM */
/* MMMM MMMM MMM MMM MMM MMM MM MM */
/* MMMM MM MMM MMM MMM MMM MM MM */
/* MMMM MM MMM MMM MMM MMM MM MM */
/* MMMMM MM MMM MMM MMM MMM MMM MM */
/* MMMMM MMM MMM MMM MMM MMM MMM MM */
/* MMMMMM MMMMMM MMM MMM MMM MMM MMM MMMM */
/* MMMMMMMMMMMMM MMMM MMMM MMMM MMMM MMMMMMMMMMMMM */
/* MMMMMMMMM MM MMMMMMMMM MMMMMMMMM MMMMMM MMMMM */
/* MMM MMM */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* MMMM */
/* MMMMMMMM MMMMM */
/* MMMM MM */
/* MM MM */
/* MM MM */
/* MM MM */
/* MM MMMMM MMMMM MMMMMMMM MM MMMMMMM */
/* MM MMM MMM MMMM MMMM MM MMMMM */
/* MM MM MMM MMM MMM MM MMMM */
/* MM MM MMM MMMM MMMM MM MMMM */
/* MM MM MMM MMM MM MM MMM */
/* MM MM MMM MMM MM MMM */
/* MM MM MMM MMM MMMMMMM */
/* MM MM MM MMM MMM MMMMMMMM */
/* MM MM MM MMM MMM MM MMMM */
/* MM MMM MMM MMM MMMM MM MM MMMM */
/* MM MMM MMM MMMMMM MMMM MM MM MMMM */
/* MMMMMMMMMMMM MMMMMMMMMM MMM MMMMMMMMM MMMM MMMM */
/* MMMMMMMMMMMMMM MMMMMMM MMMMM MMMMMMM MMMMMMMM MMMMMMMM */
/* M */
/* */
/* */
如果不行.可能需要重新把你這個文件加入.,
不管用啊
OnceILoveLinda(我爱你)
jennyvenus(JennyVenus)
的方法都试了 错误还是那样只不过减少到121了我Fuck学校 !!!!!1 一晚上要停三次电
毁了我的程序啊 花了一个月的心血啊
别的程序都可以正常编译 没有漏的
再重新打开工程.试试吧.