Advertisement

OT : Logging

Started by December 17, 2001 12:35 PM
1 comment, last by _DarkWIng_ 23 years, 2 months ago
I have made a logging class for my engine.. Now I need a fnction to clear the file I wrire to... how do I do this. (I''m using VC++.NET) There are more worlds than the one that you hold in your hand...
You should never let your fears become the boundaries of your dreams.
The easiest way to do it would be to delete the log-file, and re-create it.
Newbie programmers think programming is hard.Amature programmers think programming is easy.Professional programmers know programming is hard.
Advertisement
Reopen the file, with CREATE_NEW. This will flush the content of the file.

This topic is closed to new replies.

Advertisement