Home > Back-end >  Have a great spirit in you ask a question
Have a great spirit in you ask a question

Time:10-20

How to put the string is stored as a file, such as storage for the TXT file

CodePudding user response:

 
TStringList * li=new TStringList;
Try {
Li - & gt; Text="wow ha ha ha";
Li - & gt; SaveToFile (" c: \ \ 1111. TXT ");
} __finally {
The delete li;
}

CodePudding user response:

Great god in general are now dive to

: -)

CodePudding user response:

TMemo1 - & gt; Text="wow ha ha ha";
TMemo1 - & gt; SaveToFile (" c: \ \ 1111. TXT ");
  • Related