Y
yhli
Unregistered / Unconfirmed
GUEST, unregistred user!
从文本文件读取'abc'字符串,读出的却是:
#0'a'#0'b'#0'c'#0''#0'',
百思不得其解, 敬请高手指教?
( ........
f : TextFile;
clStr : array of string;
clCount : integer;
.......
clCount :=3;
SetLength(clStr,clCount);
for i:=0 to clCount-1 do Readln(f, clStr);
........
)
#0'a'#0'b'#0'c'#0''#0'',
百思不得其解, 敬请高手指教?
( ........
f : TextFile;
clStr : array of string;
clCount : integer;
.......
clCount :=3;
SetLength(clStr,clCount);
for i:=0 to clCount-1 do Readln(f, clStr);
........
)