📄 algorithmn1dlg.h
字号:
// Algorithmn1Dlg.h : header file
//
#if !defined(AFX_ALGORITHMN1DLG_H__476AA2A4_10A7_43C2_A7E8_EAC9D3C4ABAA__INCLUDED_)
#define AFX_ALGORITHMN1DLG_H__476AA2A4_10A7_43C2_A7E8_EAC9D3C4ABAA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAlgorithmn1Dlg dialog
class CAlgorithmn1Dlg : public CDialog
{
// Construction
public:
int num;
int quick(int *A,int low,int high);
int split(int *A,int low,int high);
int mergesort(int *A,int low,int high);
int bottomup();
int merge(int *A,int p,int q,int r);
int insertion();
int selection();
int enter;
int array[5001];
CAlgorithmn1Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAlgorithmn1Dlg)
enum { IDD = IDD_ALGORITHMN1_DIALOG };
int m_intInput;
int m_intN;
int m_Intselection;
int m_intInsertion;
int m_intBottomup;
int m_intMerge;
int m_intQuick;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAlgorithmn1Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAlgorithmn1Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnSelectionsort();
afx_msg void OnInsertionsort();
afx_msg void OnBottomupsort();
afx_msg void OnMergesort();
afx_msg void OnQuicksort();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ALGORITHMN1DLG_H__476AA2A4_10A7_43C2_A7E8_EAC9D3C4ABAA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -