Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


error C2872: 'ifstream' : ambiguous symbol

This topic is 6041 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Please Help, i'm writing a basic Milkshape Model Loading Functions, and i must use this piece of code : ifstream inputFile( filename, ios::in | ios::binary | ios::nocreate ); if ( inputFile.fail()) return false; // "Couldn't open model." i have included fstream.h ... but the compiler keeps giving me this error "error C2872: 'ifstream' : ambiguous symbol" the same code compiles if i open it in the original project which i'm using it's code to write mine ... Please Help ... Thanks in advance ... "If you don''t like something, change it. If you can''t change it, change the way you think about it!" "He who asks is a fool for five minutes, but he who does not ask remains a fool forever." "Imagination is more important than knowledge, for knowledge is limited while imagination embraces the entire world."(Einstein) "The normal teacher tells. The good teacher explains. The superior teacher demonstrates. The great teacher inspires."(William Arthur Ward) Edited by - fixxxer on January 1, 2002 4:29:05 AM

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!