From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Manipulators, where are they? Date: Mon, 20 Mar 2000 01:01:15 +0000 Organization: Customer of Planet Online Lines: 28 Message-ID: References: <20000317191524 DOT 04424 DOT 00000320 AT ng-fy1 DOT aol DOT com> NNTP-Posting-Host: modem-112.alabama.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 953428287 4328 62.137.52.112 (19 Mar 2000 01:11:27 GMT) NNTP-Posting-Date: 19 Mar 2000 01:11:27 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com roadraat AT aol DOT com (RoadRaat) wrote: > Even though I include iomanip in my program, I get a message that 'fixed' or > 'scientific' is an undeclared identifier. > > I verified that iomanip is contained in my /lib directory. Why doesn't this > work? iomanip should be in djgpp/lang/cxx with the other C++ header files. > #include > etc...... > cout << fixed << area << endl; *Please* when you report a problem make the effort to post the full source code to the smallest program that demonstrates the problem, together with the exact command line you use to compile and the full errors the compiler issues. That way others will be happy to make the effort to find you a solution. I think this might do what you want: cout.setf(ios::fixed, ios::floatfield); cout << area << endl; > Why won't it work with DJGPP? Most likely this feature has not yet been implemented in GCC.