Roberto >I've modified the tutorial macro basic.C to read an ASCII file >containing several lines of 12 elements each (3 integers and 9 reals). >Here is the macro i'm using: > > ncols = fscanf(detfile,"%i %i %i %f %f %f %f %f %f %f %f %f", > &ilayer,&iladder,&idet,&f1,&f2,&f3,&f4,&f5,&f6,&f7,&f8,&f9); > >Limitation: fscanf only takes upto 12 arguments >FILE:/pcct54_hdb1/barbera/galice >/v2.06pre/./readet.C LINE:34 I'm sorry about this limitation and confusion here. The limitation is 12 including all parameters from detfile to f9. There are 14 parameters above. If you reduce by 2 , it will work. Masaharu Goto
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET