loading a file as argument

Tom Carly tcarly at esat.kuleuven.ac.be
Tue Feb 25 21:43:00 EST 2003


Sorry for bothering again but it still doesn't work. I've tried it with 
_filename.cc() and with _filename.c_str(). Neither of those does work ... Any 
other suggestions?
Thanks

tom


Op dinsdag 25 februari 2003 20:39, schreef Eddie Kohler:
> > in something.hh I add this line:
> > String _filename;
> > and in something.cc I use this:
> > ifstream f(_filename)
>
> Perhaps _filename is not getting converted to the right type. Try
>
> ifstream f(_filename.c_str());
>
> E





More information about the click mailing list