RE:getline()

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Tue Nov 16 1999 - 11:04:04 MET


Hello Jeong,

Cint has istream::getline() function as follows unless you use fake iostream
which provided for some old configuration. If you use KCC, it is likely
you miss this function.

  istream&      getline(char* b, int lim, char delim='\n');
  istream&      getline(unsigned char* b, int lim, char delim='\n');

If you use KCC please download the latest version. 
Recently, Philippe Canal implemented iostream wrapper library for KCC.
I hope it is included in ROOT package by now.

Thank you
Masaharu Goto

>
>Hello,
>
>In root macro file, can I use getline() function. When I executed
>my macro file on root, I saw this message, how can I resolve this?
>
>Error: Can't call istrem::getline() in current scope FILE:
>
>Possible candidates are ....
>filename       line:size busy function type and name (in istream)
>filename       line:size busy function rype and name (in ios)
>*** Interpreter error recovered ***
>
>Thanks in advance. 
>
>================================
> Min Jeong Kim (CDF/KHCL)
>     E-mail : mjkim@fnal.gov    
>================================
>
>



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