qiyuan.h
来自「利用人工智能的经典算法实现迷宫游戏;里面的A星(a*)算法可以很方便的移植到应用」· C头文件 代码 · 共 56 行
H
56 行
// qiyuan.h : main header file for the QIYUAN application
//
#if !defined(AFX_QIYUAN_H__199DF7C8_3859_4EFF_B2E9_1F7576A522CD__INCLUDED_)
#define AFX_QIYUAN_H__199DF7C8_3859_4EFF_B2E9_1F7576A522CD__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
#define WALL 1
#define ROAD 0
#define START 2
#define CAR 3
#define WAIKEDROAD 4
/////////////////////////////////////////////////////////////////////////////
// CQiyuanApp:
// See qiyuan.cpp for the implementation of this class
//
class CQiyuanApp : public CWinApp
{
public:
CQiyuanApp();
// static int step;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQiyuanApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CQiyuanApp)
afx_msg void OnAppAbout();
// 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_QIYUAN_H__199DF7C8_3859_4EFF_B2E9_1F7576A522CD__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?