dpartition.~h

来自「本程序为一个内存动态分区分配的模拟程序,采用首次适应算法和最佳适应算法实现动态分」· ~H 代码 · 共 43 行

~H
43
字号
//---------------------------------------------------------------------------

#ifndef DPartitionH
#define DPartitionH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TMainFrm : public TForm
{
__published:	// IDE-managed Components
	TMemo *Memo1;
	TGroupBox *GroupBox1;
	TLabel *Label1;
	TLabel *Label2;
	TEdit *Edit_CName;
	TEdit *Edit_Size;
	TButton *Btn_Create;
	TGroupBox *GroupBox2;
	TGroupBox *GroupBox3;
	TLabel *Label3;
	TEdit *Edit_FName;
	TButton *Btn_Free;
	TLabel *Label4;  
	TRadioButton *FF;
	TRadioButton *BF;
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall Btn_CreateClick(TObject *Sender);
	void __fastcall Btn_FreeClick(TObject *Sender);
    bool __fastcall Apply(String fileName,int size);
    void __fastcall SetFree(String fileName);
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
public:		// User declarations
	__fastcall TMainFrm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainFrm *MainFrm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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