C++ compiling error

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

rrrperson

Thread Starter
Joined
Apr 27, 2006
Messages
35
I would have liked to put the entire error in the title, but it's too long. What I'm trying to do is open one file for reading, read text and do some basic parsing, and write the results to another file. The error I'm getting is:

c:\program files (x86)\microsoft visual studio 10.0\vc\include\fstream(1347): error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'

I'm using MS Visual C++ 2010 Express. I have exactly zero instances of red underlining, which makes this compilation problem strange to me. I can't find where the problem is, and googling it has turned up nothing useful. So I'm coming here.

I have attached the source code for everyone to look at (zipped CPP source code).

Thanks in advance to anyone who can help me.
 

Attachments

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top