📄 arithprimlistview.h
字号:
#if !defined(AFX_ARITHPRIMLISTVIEW_H__990F8F2E_6721_41A4_A3BF_C4A2C50D04C0__INCLUDED_)
#define AFX_ARITHPRIMLISTVIEW_H__990F8F2E_6721_41A4_A3BF_C4A2C50D04C0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ArithPrimListView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CArithPrimListView view
#include <Afxcview.h>
class CArithPrimListView : public CListView //算法显示部分
{
protected:
CArithPrimListView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CArithPrimListView)
// Attributes
public:
static void CALLBACK OnTimerExcute(HWND hWnd,UINT nMsg,UINT nIDEvent,DWORD dwTime);
int m_nodenumber; //顶点个数
double gn[50][50]; //记录各边的权值
bool m_bstop; //是否暂停或停止
bool m_odd; //是否单步执行
int u0;
int v;
int i;
// int flag;
int m_linenumber; //程序将要执行的行号
int m_linepronumber;
int vex[50];
double lowcost[50];
// Operations
public:
void OnContinue();
void OnStop();
void OnOdd();
double k;
int kk;
void OnExecute();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CArithPrimListView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CArithPrimListView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CArithPrimListView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ARITHPRIMLISTVIEW_H__990F8F2E_6721_41A4_A3BF_C4A2C50D04C0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -