請有人可以幫助我在拯救,並從流加載其動態數組德爾福保存和加載動態數組
const
iGlobHolderCount = 100;
type
TFiLeSpec = record
iSize: Integer;
end;
TFileSpecLst = array of TFiLeSpec;
TFiLeSpecList = record
iMin: Integer;
iMax: Integer;
iCount: Integer;
FileSpecLst: TFileSpecLst;
end;
var
FFileSpec: array of TFiLeSpec;
FFileSpecList: array [1 .. iGlobHolderCount] of TFiLeSpecList;
你試過了什麼?它現在看起來像是一個「Show me teh codez」問題。 – 2012-01-27 11:00:31
您是否嘗試過在我的回答中顯示的技術,您的其他問題(http://stackoverflow.com/questions/8819885/delphi-save-and-load-binary-tree)或變體在您的其他問題的第一個評論中提出的建議題? (http://stackoverflow.com/questions/3820996/delphi-2010-how-to-save-a-whole-record-to-a-file)。你應該嘗試自己解決這個問題併發布失敗的代碼。沒有這一點,它確實是一個「顯示我的代碼」問題。投票結束爲「太局部」,因爲這隻會幫助你,而不是其他人。 – 2012-01-27 11:05:40
@Cosmin Prund,不,它不是顯示我的codez,但只是說實話 我不知道如何保存和加載流動態數組。 – Alexis 2012-01-27 11:06:05