ifstream 
Author Message
 ifstream

Hi,

I want to build a specialized class that can read a file.  Therefore I have
a property of type ifstream:

ifstream fin;

When I try to compile I get this error, "'get' : 9 overloads have no legal
conversion for 'this' pointer".

How do I fix this?

TIA,
Tom



Tue, 06 May 2003 03:00:00 GMT  
 ifstream
did u added
namespce std{} using namespce std;
below ur
#include <ftream>
???

--
(.) (.)
 ) . (
(  *  )

"...there are no stupid questions, only stupid people" ( Mr. Gerision)


Quote:
> Hi,

> I want to build a specialized class that can read a file.  Therefore I
have
> a property of type ifstream:

> ifstream fin;

> When I try to compile I get this error, "'get' : 9 overloads have no legal
> conversion for 'this' pointer".

> How do I fix this?

> TIA,
> Tom



Thu, 08 May 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ifstream

2. ifstream/string confusion [somewhat long]

3. Can not reset an open ifstream file.

4. Q: ifstream/memory problem?

5. How to get _UNICODE version working for ifstream!!!

6. Help: unknow exception when use std::ifstream

7. ifstream binary read

8. ifstream/ofstream question

9. Problem with ifstream::tellg()

10. 'ifstream' undeclared identifier

11. ifstream object and the Common Dialog box

12. Errors using ifstream

 

 
Powered by phpBB® Forum Software