[Wylug-help] C++ Programming Question.

Dave Whiteley d.l.whiteley at ee.leeds.ac.uk
Tue Aug 24 16:27:59 BST 2004


On Tue, Aug 24, 2004 at 04:01:45PM +0100, Jason Lander wrote:
>
> Dave,
>
> According to my G++ docs, the (int fd) form is Posix only. Could there be
> a Posix CPP def that is needed?
>
> I may be being dim here, but isn't
>
>   infile  = cin;
>   outfile = cout;
>
> just as valid here?
>
> - Jason
>

If there is dimness, it is not you!

It is a long time since I wrote this code, but I think not.  This was
the bit of the code that was always tricky.  I will go and run some
more tests.

Dave




--

Dave Whiteley
d.l.whiteley at ee.leeds.ac.uk
Phone +44 (0)113 343 2059
School of Electronic and Electrical Engineering
The University of Leeds. Leeds, LS2 9JT,  UK




More information about the Wylug-help mailing list