You could use the fopen function with the "a+" as mode.

Then you can use CStdioFile with the file-pointer returned by fopen.