This can happen if you are using the older style iostream libraries (which were in libcimtd.lib) instead of the newer style. If you have any:
#include <iostream.h> or #include <fstream.h>
Change them to #include <iostream> and #include <fstream>
With the use of the newer style standard libraries, standard headers no longer have a .h. Also check any older Standard Template Library code (#include <vector.h> -> #include <vector>, #include <list.h> -> #include <list>
If doing this introduces build errors, try adding a line:
using namespace std;
near the top of every file (namespaces are only in scope within a single file) that uses the code from those headers (near the top, right after all the includes). All the standard library classes (iostream, STL, etc.) are now in the std namespace.
A similar problem: http://forums.microsoft.com/msdn/showpost.aspx postid=16351&siteid=1
|