主题:中国象棋源码解析?
这是中国象棋的一小部分,但我却不了解,有哪位能者帮帮我解析一下,越详细越好!!
// Chess.h : main header file for the CHESS application
//
#if !defined(AFX_CHESS_H__AA41CA9C_A877_11D4_9A6C_973E5A1E3F59__INCLUDED_)
#define AFX_CHESS_H__AA41CA9C_A877_11D4_9A6C_973E5A1E3F59__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CChessApp:
// See Chess.cpp for the implementation of this class
//
class CChessApp : public CWinApp
{
public:
CChessApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChessApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CChessApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHESS_H__AA41CA9C_A877_11D4_9A6C_973E5A1E3F59__INCLUDED_)
// Chess.h : main header file for the CHESS application
//
#if !defined(AFX_CHESS_H__AA41CA9C_A877_11D4_9A6C_973E5A1E3F59__INCLUDED_)
#define AFX_CHESS_H__AA41CA9C_A877_11D4_9A6C_973E5A1E3F59__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CChessApp:
// See Chess.cpp for the implementation of this class
//
class CChessApp : public CWinApp
{
public:
CChessApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChessApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CChessApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHESS_H__AA41CA9C_A877_11D4_9A6C_973E5A1E3F59__INCLUDED_)