From: karpfenteich AT gmx DOT de (Peter Karp) Newsgroups: comp.os.msdos.djgpp Subject: iomanip: showbase doesn't work? Date: Mon, 03 Jan 2000 17:57:27 GMT Lines: 33 Distribution: world Message-ID: <3870e271.18206021@news.netcologne.de> NNTP-Posting-Host: dial-rs2-205-125.netcologne.de X-Trace: news.netcologne.de 946922125 17246 194.8.205.125 (3 Jan 2000 17:55:25 GMT) X-Complaints-To: usenet AT news DOT netcologne DOT de NNTP-Posting-Date: 3 Jan 2000 17:55:25 GMT X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi DJGPP gurus :-) when I try to compile bsp.09.cpp: #include #include using namespace std; int main() { cout << hex << showbase; cout << setw(12) << 3 << setw(12) << 5; return(0); } DJGPP shows the following error messages: bsp09.cpp: In function `int main()': bsp09.cpp:8: `showbase' undeclared (first use this function) bsp09.cpp:8: (Each undeclared identifier is reported only once bsp09.cpp:8: for each function it appears in.) VC++ compiles without a problem. What am I doing wrong here? Is there a place where I can find things like that in the DJGPP docs (I tried 'info showbase' without success)? Thanks for any advice :-) Greetings from Cologne Peter E-Mail: karpfenteich AT gmx DOT de