|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Is there any runtime diagnostic required by C++ standard in
std: fstream ofs("foo.bar");ofs.seekp(-1,ios::beg); ofs << "Gosh"; or is the result implementation defined as with writng past eof? gorc |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hi!
Gorc schrieb: > std: fstream ofs("foo.bar");> ofs.seekp(-1,ios::beg); I expect this to set the failbit. Frank |
|
![]() |
| Outils de la discussion | |
|
|