📄 permutationdlg.h
字号:
// PermutationDlg.h : header file
//
#if !defined(AFX_PERMUTATIONDLG_H__8640E37D_E5E4_4581_B09F_C1A207AA19A9__INCLUDED_)
#define AFX_PERMUTATIONDLG_H__8640E37D_E5E4_4581_B09F_C1A207AA19A9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPermutationDlg dialog
# include "AnswerDialog.h"
class CPermutationDlg : public CDialog
{
// Construction
public:
CPermutationDlg(CWnd* pParent = NULL); // standard constructor
//希尔排序需调用的函数
void ShellInsert(int l);
//快速排序需调用的函数
void QSort(int low,int high);
int Partition(int low,int high);
// Dialog Data
//{{AFX_DATA(CPermutationDlg)
enum { IDD = IDD_PERMUTATION_DIALOG };
int m_nNum1; //成员变量,限制输入数据的大小,超出范围则无效
int m_nNum10;
int m_nNum2;
int m_nNum3;
int m_nNum4;
int m_nNum5;
int m_nNum6;
int m_nNum7;
int m_nNum8;
int m_nNum9;
int m_nPlace;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPermutationDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPermutationDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnViewAnswer();
afx_msg void OnZhijiecharu();
afx_msg void OnZhebancharu();
afx_msg void OnXier();
afx_msg void OnKuaisu();
afx_msg void OnMaopao();
afx_msg void OnJiandanxuanze();
afx_msg void OnViewall();
virtual void OnOK();
afx_msg void OnShuoming();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PERMUTATIONDLG_H__8640E37D_E5E4_4581_B09F_C1A207AA19A9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -