Threads

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Mon May 2 15:03:59 PDT 2016


On Monday, 2 May 2016 at 16:39:13 UTC, vino wrote:
> Hi All,
>
>  I am a newbie for D programming and need some help, I am 
> trying to write a program using the example given in the book 
> The "D Programming Language" written by "Andrei Alexandrescu"

Make sure to check the errata on his site: 
http://erdani.com/index.php?cID=109

> Page: 406 Print: 1
> Current text:
>     foreach (immutable(ubyte)[] buffer; 
> stdin.byChunk(bufferSize)) send(tid, buffer);
> Correction:
>     foreach (buffer; stdin.byChunk(bufferSize)) send(tid, 
> buffer.idup)


More information about the Digitalmars-d mailing list