Why doesn't rootcint reckoginize infile.fseekg(...)

From: Peter Lipa (lipa@nsma.arizona.edu)
Date: Thu Jul 29 1999 - 20:25:41 MEST


Hi rooters,
I have a probably (and hopfully) trivial problem when I want to use the
services from
<fstream.h> in rootcint (root version2.22/04) on WinNT4. The interpreters
error message is absolutely no help for me. I also get the same error
message if run from a macro and if I #include <fstream.h> explixitly in the
interpreter and macro.   What am I doing wrong???

root [0] ifstream in("r6651t10.TRK")
root [1] int pos = in.seekg(794442,0)
Error: Can't call ifstream::seekg() in current scope FILE:C:\TEMP\3 LINE:1
Possible candidates are...
filename       line:size busy function type and name  (in ifstream)
filename       line:size busy function type and name  (in istream)
filename       line:size busy function type and name  (in ios)
*** Interpreter error recovered ***


Thanks a lot in advance,
Peter

****************************************************************************
Peter Lipa, PhD                            e-mail: lipa@nsma.arizona.edu
Arizona Research Labs - Neural Systems, Memory and Aging
University of Arizona
Life Sciences North Bldg, Room 384;   Phone: (520) 626-3101
Tucson, AZ 85724-5115                       Fax: (520) 626-2618
****************************************************************************



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