20 Jan
2005
20 Jan
'05
1:40 p.m.
On 2005-01-20, Tony Wyatt wrote:
Hi Peter,
On 20/01/2005, you wrote: <SNIP> Could you not just make an array of type FILE *[], indexed by the integer form of stdin/out/err? You would have to fill in the three values provided, and allow room for later additions.
That would not take care of e.g.: fh=Open(any_file,MODE_NEWFILE); fp=FILE_from_fh(fh); But as I said, it is not that great a problem - I was mostly trying to save myself a bit of work. :-) -Peter aka. Archprogrammer Reality is for people who cannot face ScienceFiction. Only lefthanded people are in their right minds.