Re: compatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You  have bug here
fout.open("solid_position.dat",ios::out || ios::ate);
ios::out || ios::ate should be ios::out | ios::ate << 1 |
Vortmann, Claas wrote:
-----------------------------------------------------------------------------

#include <fstream.h>
#include <iostream.h>

int main()
{

ofstream fout;
fout.open("solid_position.dat",ios::out || ios::ate);

return 0;
}
------------------------------------------------------------------------------------
---
Serge


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux