Dear Mike, I found an example from "root/tutorials/cernbuild.C" This may be useful. Hope it helps, Zaldy On Thu, 15 Jul 2004, Mike Kordosky wrote: > Hi, > > Why not use an ifstream? > > ifstream f("yourfile.txt"); > float v[25]; > while(!f.eof()){ > for(int i=0; i<25; i++) f>>v[i]; > f.get(); > } > > mike > > > 1. fscanf only allows to read up to 12 columns of data line by line. How can I read in up to 25 columns of data? > > > > 2. I am running the Qt beta ROOT version 4.00.07 for Windows XP and get the following error message when I launch ROOT: "Error: cannot open file "_string" FILE:(tmpfile) LINE:2" > > "*** Interpreter error recovered ***" > > Any ideas? > > > > Thanks. > > > > Wolf > > -- Zaldy A. Nawang
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET