home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1989
/
06
/
stdprn2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-15
|
241b
|
18 lines
/* create stdprn for Turbo C
* version 2
*/
#include<stdio.h>
main()
{
FILE *stdprn;
if(!(stdprn = fdopen(4,"wt")))
{
fprintf(stderr,"\nUnable to open stdprn");
exit(0);
}
fprintf(stdprn,"stdprn is open\f");
}