This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/22130] fstream fails to create a file in ios::in| ios::out mode.
- From: "rohit_goel at ml dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2005 13:43:54 -0000
- Subject: [Bug libstdc++/22130] fstream fails to create a file in ios::in| ios::out mode.
- References: <20050620221810.22130.rohit_goel@ml.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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