|
From: Ioannis V. <no...@ho...> - 2002-06-05 23:40:13
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Bob Wilson > Sent: Tuesday, June 04, 2002 10:54 PM > To: Dev-C++ User Mailing List > Subject: [Dev-C++] #include <ios> > > > 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" <ios> is part of the standard library. Obviously it has not been implemented in GCC 2.9.x line. I guess that this has been fixed in the 3.x line, or will be fixed in a future version. > > MSVC .NET compiles it just fine. What am I missing? Nothing. <ios> belongs to the ANSI C++ standard. But the standard is very recent, so something is missing here and there in every compiler. As the time passes compilers will be getting more standard compliant. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |