std.stdio.write, writeln, fwrite, fwriteln

Lionello Lunesu lionello at lunesu.remove.com
Thu Dec 28 11:30:20 PST 2006


"Andrei Alexandrescu (See Website For Email)" 
<SeeWebsiteForEmail at erdani.org> wrote in message 
news:45941A78.50908 at erdani.org...
> Lionello Lunesu wrote:
>> This is for the cout lovers out there:
>>
>> I like writefln, but many times it's doing too much. I often forget to 
>> print
>> strings explicitly using "%s", to prevent errors in the (rare) case the
>> string contains %-characters. That's why I've added write, writeln, 
>> fwrite,
>> fwriteln to std\stdio.d
>
> How about the converse read* functions?

I didn't know they existed? Ah wait, they don't! I see, std.stdio is 
actually only std-output : )

L. 





More information about the Digitalmars-d-announce mailing list