[ROOT] limitation in number of arguments in fscanf

From: Muge Karagoz (karagozm@lotus.phys.nwu.edu)
Date: Thu Dec 07 2000 - 18:08:27 MET


Hello,
Being a freshmen in using Root, i have a problem... 
I wrote a small macro with which i plan to read 11 different variables out
of a data file and write them into an ntuple.
I tried to use "fscanf()" but it gives me the error message below:
--
Limitation: fscanf only takes upto 12 arguments FILE:make_ntuple.C LINE:17
*** Interpreter error recovered ***
--
i have 11 variables + format + file pointer =13 as the number of
arguments..
I don't remember to have this limitation with a regular c program ...

Could anyone please make me a suggestion?

thanks
Muge Karagoz



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET