?? bothwave.h
字號:
// BothWave.h: interface for the CBothWave class.
//
//////////////////////////////////////////////////////////////////////
#include"Wave.h"
#if !defined(AFX_BOTHWAVE_H__E007DBB0_1B9C_4F82_824D_1CCB3A74F8E8__INCLUDED_)
#define AFX_BOTHWAVE_H__E007DBB0_1B9C_4F82_824D_1CCB3A74F8E8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define Height 120
#define Width 176
class CBothWave:public CWave
{
public:
int searchThePathStepByStep();
void prepareForStepByStep();
CBothWave();
virtual ~CBothWave();
void showThePath(CDC *pDC , int showMode);
int searchThePath();
int linkX,linkY;
protected:
struct wa_node
{
bool close1;
bool close2;
wa_node *next;
int value;
int x,y;
};
wa_node *m_pNode[Height][Width];
wa_node m_node[Height][Width];
//int startX,startY,targetX,targetY;
private:
wa_node * head2;
wa_node * head;
};
#endif // !defined(AFX_BOTHWAVE_H__E007DBB0_1B9C_4F82_824D_1CCB3A74F8E8__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -