I need to write text to a log file. I'm always appending to the end of it. I'm on an NT system. What is the most efficient way to do this? CFile? CStdIoFile? ofstream? I'd like to write to the file possibly a few times per second, and would definitely like to flush it to disk from time to time (every 5-60 seconds).
Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.