|
From: Bob W. <bo...@ph...> - 2002-06-05 13:44:52
|
I found the solution > I am working my way through Andrews Koenig's and Barbara E. Moo's book > "Accelerated C++, Practical Programming by Example" and have a bit of a > problem with an include file. The program starts: > > #include <iomanip> > #include <iostream> > #include <string> > #include <ios> > > using std::cin; using std::setprecision; > using std::cout; using std::string; > using std::endl; using std::streamsize; > > Unfortunately I get the following error message: > > "ios: No such file or directory" > > MSVC .NET compiles it just fine. What am I missing? It is: #include <iomanip> #include <iostream> #include <string> #ifndef __GNUC__ #include <ios> #endif Regards, Bob Wilson |