problems with DPL example.

simendsjo simendsjo at gmail.com
Mon Oct 10 12:42:26 PDT 2011


On 10.10.2011 21:38, bearophile wrote:
> %u:
>
>> D>echo hello | wordcount2.exe<  wordcount2.d
>> 0       hello
>> std.stdio.StdioException at std\stdio.d(2156): Bad file descriptor
>
> Try:
>
> wordcount2.exe<  wordcount2.d
>
> Bye,
> bearophile

Shouldn't the original way work too?

Another point: I recommend compiling with debug symbols as it gives you 
a nice stacktrace.


More information about the Digitalmars-d-learn mailing list