?? compare_second.h
字號:
#pragma once
#include "astar1.h"
#include "astar2.h"
// CCompare_second 對話框
class CCompare_second : public CDialog
{
DECLARE_DYNAMIC(CCompare_second)
public:
CCompare_second(CWnd* pParent = NULL); // 標(biāo)準(zhǔn)構(gòu)造函數(shù)
virtual ~CCompare_second();
//算法
ASTAR1 astar1;
ASTAR2 astar2;
searcher *search;
//控件資源
struct COMP{
int step_item;
int node_item;
int key_item;
}comp_1[9], comp_2[9];
//搜索是否停止?fàn)顟B(tài)
int stop;
int m_begin, m_end; //開始結(jié)束狀態(tài)
int m_her[9];
void getStatus(int begin, int end){m_begin = begin, m_end = end;}
// 對話框數(shù)據(jù)
enum { IDD = IDD_COMPARE_SECOND };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedCompSearch();
virtual BOOL OnInitDialog();
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -