Mail Archives: djgpp/1998/10/13/06:26:44
Compwiz826 <compwiz826 AT aol DOT com> 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.
- Raw text -