|
-
May 21st, 2009, 01:07 PM
#1
C# Help! Anyone know how to clear a text file?
Hi all,
I just need to know how to clear everything in a text file using c++.
I tried deleting it, with File.Delete(Patch + navn + ".txt");
but all the content got saved into another text file :S... So i think I should clear the .txt file before deleting it. Anyone know how to do in c#?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|