Hi out there!
I have a problem with an istream object. My code is as follows:
As you can see, this constructor should take an istream object as input, and copy it to a private variable called is, which also is an istream.Code://Constructor of Class scanner. scanner(istream &istr): is(istr) {}
This, though, does make compiling error, both with BorlandC++, and with DJGPP´s gpp.
I have taken this from a source, which previously compiled under Unix(Solaris), with g++.
Can anyone suggest a way to get this working(compiling)?
Regards



LinkBack URL
About LinkBacks


