sort.h

来自「一个费诺编码器,输入N个总和为1的小数,就可以得到N个费诺码」· C头文件 代码 · 共 52 行

H
52
字号
#if !defined(AFX_SORT_H__54B9604E_8E5C_11D8_907A_00E04C8B35B4__INCLUDED_)
#define AFX_SORT_H__54B9604E_8E5C_11D8_907A_00E04C8B35B4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// sort.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// sort window
template <class T>
class sort : public CEdit
{
// Construction
public:
	sort();
    CSort(int nArraySize);
	void Bubble(T array[]); 
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(sort)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~sort();

	// Generated message map functions
protected:
	//{{AFX_MSG(sort)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	int m_nArraySize;
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_SORT_H__54B9604E_8E5C_11D8_907A_00E04C8B35B4__INCLUDED_)

⌨️ 快捷键说明

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