best replacement for - cout << "hello D" << endl; ?

Jarrett Billingsley kb3ctd2 at
Wed Jul 11 05:05:44 PDT 2007

"Bruce Adams" <tortoise_74 at> wrote in message 
news:f720t3$6m5$1 at
> What is "dout" for? When would you use it instead of stdout?

dout (in std.cstream) is a Stream ( wrapped around the C stdout. 
Basically it just provides an object-oriented interface to it.  Look up for info on the methods that it 

> That is so ugly. I haven't found a page on operator overloading yet but 
> there must be better choices availabe. Even ++ as a binary operator would 
> be better.

I don't know what to say.  I think << and >> look terrible.  To each his 

More information about the Digitalmars-d-learn mailing list