ambiguos symbol ifstream

R

rsforster

I am converting some of my old code to use C++ streams instead of the
old ANSI C streams (fprintf et al).

I have been away from C++ for a while and I cannot remember what
namespace ifstream is in. I am getting an ambiguous symbol error.(in
Visual Studio 6.0) .

I simply included the header and tried constructing a ifstream.

ifstream bmpfile(filename2, ios::in | ios::binary);

PLEASE copy your answer to my email (e-mail address removed).

RF
 
I

Ian Collins

I am converting some of my old code to use C++ streams instead of the
old ANSI C streams (fprintf et al).

I have been away from C++ for a while and I cannot remember what
namespace ifstream is in.

std.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top