C++ Problem

Benjamin Kosnik bkoz at redhat.com
Tue Jul 20 03:09:12 UTC 2004


>  fstream filestr("test.cpp", ios::in|ios::out|ios::app);

this is not a valid mode. Try ios::out | ios::app.

See:
27.8.1.4 - Member functions [lib.filebuf.members]

-benjamin





More information about the fedora-test-list mailing list