How do I get a file to truncate, not append upon closing the program. When I close it, it writes to the file, but instead of updating the numeric total count it appends to it. Using the IOS::ATE | IOS::OUT.
Any help appreciated as I'm new to this...

Turbo C++ v4.5 (Borland)