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.