www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/17/20:08:06

From: roadraat AT aol DOT com (RoadRaat)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Differences between DJGPP & Visual C++
Lines: 29
NNTP-Posting-Host: ladder07.news.aol.com
X-Admin: news AT aol DOT com
Date: 18 Mar 2000 00:10:17 GMT
References: <38D24FA8 DOT 47C7925F AT edwardjones DOT com>
Organization: AOL http://www.aol.com
Message-ID: <20000317191017.04424.00000318@ng-fy1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>You can use
> #include <iostream>
>, although not _all_ standard C++ headers are present at the current
>time.
>

Okay, but I still don't get it why I can't use the fixed and scientific
manipulators from <iomanip>

I found <iostream> and <iomanip> in my installed library, so I'm sure I have
them.  However, the following code results in a message that the identifier
'fixed' is undeclared:

#include <iostream>
#include <iomanip>
using namespace std;

...
...
...
simple code to compute the area of a circle;

cout << fixed << area << endl;

This code works fine when I compile it with MS Visual C++, so I know I don't
have other problems with it.  Why won't DJGPP include the manipulator 'fixed'? 
It doesn't work for 'scientific' either?

RoadRaat

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019