sort.h

来自「关于书籍《Borland c++Builder工程实践》的源代码」· C头文件 代码 · 共 21 行

H
21
字号
//---------------------------------------------------------------------------

#ifndef SortH
#define SortH
//---------------------------------------------------------------------------
#include <Classes.hpp>
enum SortAlgorithm{BubSort,SelSort,InsSort};
//---------------------------------------------------------------------------
class Sort : public TThread
{            
private:
protected:
    void __fastcall Execute();
public:
    __fastcall Sort(int i,bool CreateSuspended);
//    void __fastcall SetSortFalg(int i);
    SortAlgorithm   SortFlag;     //排序方法标志
};
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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