Problem with Microsoft C ver 3 and above under DOS 2.XX
michael at orcisi.UUCP
michael at orcisi.UUCP
Sat Jan 10 00:20:53 AEST 1987
> If you are runing MS-DOS 2.XX and use microsoft C version 3.00 and/or 4.0
> the following code will cause some problems.
>
> FILE *fp;
>
> fp = fopen( "prn", "w" );
> .
> .
> .
> fclose(fp);
You could just fprintf( stdprn, ... ); stdprn is predefined and "pre-opened"
(but you probably trying to do something slightly different).
More information about the Comp.lang.c
mailing list