Курсовая работа: Структуры и организация данных в ЭВМ
procedure Verify;
procedure rbValClick(Sender: TObject);
procedure rbIntClick(Sender: TObject);
procedure Fill;
procedure FormCreate(Sender: TObject);
procedure cbSel1Change(Sender: TObject);
procedure rbTog2Click(Sender: TObject);
procedure rbEve2Click(Sender: TObject);
procedure cbSel2Change(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
A : file of Word;
B, arA : array of Word;
Nmin, Nmax, Step, K, t, i, rnd, Fval : Word;
SortA1, SortA2, SortAB, LinF1, LinF2, BinF, LinFAcc: array [0..1, 1..4, 1..65535] of Word;
TSortA1, TSortA2, TSortAB, TLinF1, TLinF2, TBinF, TLinFAcc: array [1..65535] of Word;
Acc : array [1..3, 1..65535] of Word;
implementation
{$R *.dfm}
procedure TForm1.Fill;
var
r : Integer;
begin
Rewrite(A);