Can anybody suggest the best approach for creating a rotating log file? In other words, I want a maximum of 10 80 character records in my ASCII text rotating log file. When I add the 11th record, I must delete the first record.

I know this can easily be done with CFile but the MFC stuff clashes with my stock C program.

Thanx

Bob