Archived

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

Fixxxer

error C2872: 'ifstream' : ambiguous symbol

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