From: Boon van der RJ Newsgroups: comp.os.msdos.djgpp Subject: Re: Why doesn't iostream work?? Date: 13 Oct 1998 09:51:40 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 24 Message-ID: <6vv7rc$t5n$1@star.cs.vu.nl> References: <36228A92 DOT 62A6B474 AT lycosmail DOT com> <19981012230202 DOT 17684 DOT 00000409 AT ng149 DOT aol DOT com> NNTP-Posting-Host: galjas.cs.vu.nl User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u)) Originator: rjvdboon AT galjas DOT cs DOT vu DOT nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Compwiz826 wrote: > I've never seen cout in a djgpp program, just use fprint or > something like that Hmm, if I'm allowed to say this (not intended as a flame, but to give DJGPP users the best advice possible in the future), but this answer is misleading to people new to DJGPP. cout should, and does, work, if you use it The Right Way (like it's intended to in the standards, apart from some bugs, off course). I used cout myself, because C++ (not C) is what they thought us at the uni. (Much later I discovered [f]printf, which made me more happy, but iostream has it's advantages ;-) The point is: If a user asks something about iomanip, you should say what bowman AT montana DOT com said (post compile command, traceback, etc) and if you feel like it, _suggest_ a possible way to do the same as he wants to (use fprintf, which _might_ be the best answer). fwiw, Robert. -- rjvdboon AT cs DOT vu DOT nl | "En dat is niet waar!" sprak ex-Staatsecretaris- www.cs.vu.nl/~rjvdboon | van-Onderwijs Netelenbos fel.