Monthly Archives: September 2010

fflush Fails to Switch From Read to Write on Files fopen’ed with ‘r+’ Access

The fopen documentation states: When the "r+", "w+", or "a+" access type is specified, both reading and writing are allowed (the file is said to be open for "update"). However, when you switch between reading and writing, there must be … Continue reading

Posted in VC++ | 2 Comments