📄 sort_comparedlg.h
字号:
// sort_compareDlg.h : header file
//
#if !defined(AFX_SORT_COMPAREDLG_H__95351635_B859_4718_A781_639A41FEF521__INCLUDED_)
#define AFX_SORT_COMPAREDLG_H__95351635_B859_4718_A781_639A41FEF521__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSort_compareDlg dialog
class CSort_compareDlg : public CDialog
{
// Construction
public:
void ArrayOutput(int* array,CString str);
void HeapAdjust(int* array,int low,int high);
void ShellInsert(int* array,int dk);
int Quick_move;
int Quick_com;
int Partition(int* array,int low,int high);
void QuickSort(int* array,int low,int high);
CSort_compareDlg(CWnd* pParent = NULL); // standard constructor
int array6[101],array1[101],array2[101],array3[101],array4[101],array5[101];
// Dialog Data
//{{AFX_DATA(CSort_compareDlg)
enum { IDD = IDD_SORT_COMPARE_DIALOG };
int m_dBubble_com;
int m_dBubble_move;
int m_dCompare_number;
int m_dDirect_com;
int m_dDirect_move;
int m_dHier_com;
int m_dHier_move;
int m_dPile_com;
int m_dPile_move;
int m_dQuick_com;
int m_dQuick_move;
int m_dSimple_com;
int m_dSimple_move;
CString m_dView;
CString m_dView1;
CString m_dView2;
CString m_dView3;
int m_dOutput;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSort_compareDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSort_compareDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnStartCompare();
afx_msg void OnOutput();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SORT_COMPAREDLG_H__95351635_B859_4718_A781_639A41FEF521__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -