H heavenluohao Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-22 #1 要求是根据一些弱质的运行语句生成.dat 文件!!
Q quejian Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-23 #2 procedure TForm1.Button1Click(Sender: TObject); var f:Textfile; begin AssignFile(f,'c:/tem.dat'); Rewrite(f); end;
procedure TForm1.Button1Click(Sender: TObject); var f:Textfile; begin AssignFile(f,'c:/tem.dat'); Rewrite(f); end;
E esimon Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-23 #3 或者用stringlist的savetofile方法
H hdwxh Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-23 #6 CFile file; file.open("example.dat",CFile::modeCreate|CFile::modeReadWrite) char s[100]; file.Write(&s,100); file.close;
CFile file; file.open("example.dat",CFile::modeCreate|CFile::modeReadWrite) char s[100]; file.Write(&s,100); file.close;