home *** CD-ROM | disk | FTP | other *** search
- /*******
- * compile to "work.exe"
- * place in /bin directory
- ******/
-
-
-
- #include <stdio.h>
-
- main() {
-
- FILE *workfile, *tempfile;
-
- for( ; 1 < 2; ) {
- workfile = tmpfile();
- fputs("work. oh yes. work.", workfile);
- tempfile = tmpfile();
- fwrite(workfile, 19, 100, tempfile);
- fclose(tempfile);
- fclose(workfile);
- }
- }
-