--- 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
--- Additional Comments From schwab at suse dot de 2005-06-20 22:45 ---
You need to add ios::trunc if you want to create the file, see
[lib.filebuf.members] 27.8.1.3#2.
--
What|Removed |Added
--
--
What|Removed |Added
Component|c++ |libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22130