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