[Bug libstdc++/22130] fstream fails to create a file in ios::in| ios::out mode.

rohit_goel at ml dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 21 13:44:00 GMT 2005


------- Additional Comments From rohit_goel at ml dot com  2005-06-21 13:43 -------
Is there a way to open the file in "a+" mode using fstream.  Meaning, if the 
file exists, open in append mode, else create the file.

Thanks.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22130



More information about the Gcc-bugs mailing list