Tango file i/o

torhu no at spam.invalid
Tue Mar 18 20:43:39 PDT 2008

Jason House wrote:
> I'm having trouble writing a unit test to check code that communicates via
> standard in and standard out.  Attached to this post is my a reduced form
> of my problems.  Can anyone tell me what's going wrong? (The assert in the
> code fails)

You need to rewind the file before starting to read after writing:


More information about the Digitalmars-d-learn mailing list