I’m trying to read an ascii file and pass the data to two arrays in order to make a plot. But I get this error:
Error: operator>> not defined for basic_istream<char,char_traits
The ascii file is an output file from fortran 77. This file is filled using Format with F specifier.
Anyone knows what can be wrong?
The simple code is here:
ino >> b >> a >> endl;
g = new TGraph(20,x,y);
Thank you very much!!!