Hi, i have to read several text files(in a root maco, so in cint), inthis way: (root version 3.10.01 on MacosX 10.2.8 with gcc 3.1) ifstream *in = new ifstream(); in->open("./SetCorrelations/00001.data"); .... in->close(); if i now try to open a new one sprintf(carry,"./SetCorrelations/%05d.data",file); in->open(carry); ... in->close(); he still reads from the very first specified. If i use brute force delete in; ifstream *in = new ifstream(); after each close it is working. ( as expected) But it should work with close only, or ? ( it is working in this manner with an ofstream ...) Regards Roland
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET