Re: using fscanf within root ...

From: Masaharu Goto (gotom@hpyiddq.jpn.hp.com)
Date: Thu Jan 29 1998 - 01:00:12 MET


Denis,

 Cint limits number of arguments to fscanf to 12 as you observed.
 This is due to absense of vfscanf function in standard C function.
 Some environment has it but not all.  

 You can use C++ iostream library. Specifically ifstream.

Masaharu Goto

>   
>  I was using fscanf extensively in C files and try now  to use it 
>  within root system in order to read some infos from ASCII files. 
>  The fscanf standard function seems to be really limited in arguments 
>  within root system: 
>  I was using fscanf with 40 arguments for I/O and does work in C,but 
>  with root the limitation seems to be upto 12 arguments only !
> 
>  Could  someone tell me how to read ASCII files infos within root without 
>  using fscanf std function ?  
>                                      thanks a lot !        



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET