40b04d6a_Ostream_Classes___Digital_Mars__Description
[Mode] ios::out [Description] 
Open the file for output. Construction or opening of an ofstream always implies this bit, meaning the bit need not be set. When set for an fstream, it means that output is allowed if possible. This bit can be set for an ifstream, but output to the file is not permitted.
IOstream Classes - Digital Mars