⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a33dlg.h

📁 几种排序算法,即一些常用的排序方法 几种排序算法,即一些常用的排序方法
💻 H
字号:
// a33Dlg.h : header file
//

#if !defined(AFX_A33DLG_H__9EC2C8FA_A447_4993_A5B9_D7ED352009E2__INCLUDED_)
#define AFX_A33DLG_H__9EC2C8FA_A447_4993_A5B9_D7ED352009E2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CA33Dlg dialog

class CA33Dlg : public CDialog
{
// Construction
public:
	CA33Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CA33Dlg)
	enum { IDD = IDD_A33_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CA33Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CA33Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	int m_ia[21];
	int m_ib[21];

	void mf_InsertSort(int r[],long m,long n);	//插入排序法(数组,数组起始位置,排序个数)
	void mf_ShellSort(int r[],long m,long n);	//希尔排序法(数组,数组起始位置,排序个数)
	void mf_BubbleSort(int r[],long m,long n);	//冒泡排序法(数组,数组起始位置,排序个数)
	void mf_QuickSort(int r[],long s,long t);	//快速排序法(数组,数组起始位置,排序个数)
	void mf_SelectSort(int r[],long m,long n);	//选择排序法(数组,数组起始位置,排序个数)	
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_A33DLG_H__9EC2C8FA_A447_4993_A5B9_D7ED352009E2__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -