home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15389 < prev    next >
Encoding:
Text File  |  1992-09-11  |  755 b   |  29 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!spool.mu.edu!agate!ames!sun-barr!cs.utexas.edu!tamsun.tamu.edu!bpb9204
  3. From: bpb9204@tamsun.tamu.edu (Brent)
  4. Subject: Re: IO ReDirection in Think C
  5. Message-ID: <1992Sep12.061719.4937@tamsun.tamu.edu>
  6. Organization: Texas A&M Univ., Inc.
  7. References: <yjc-110992221032@b61539.student.cwru.edu>
  8. Date: Sat, 12 Sep 1992 06:17:19 GMT
  9. Lines: 18
  10.  
  11. yjc@po.cwru.edu (Jerome Chan) writes:
  12. |
  13. |  How does one activate the IO re-direction capabilities of the console
  14. |package in ANSI library for Think C 5.0.x?
  15.  
  16. Ex:
  17.  
  18. #include <Whateverfilesyouneedtoinclude.h>
  19. #include <console.h>
  20.  
  21. main( int argc, char * argv[])
  22. {
  23.   argc = ccommand( &argv);
  24.  
  25.   // continue on here with the argument processing like normal
  26. }
  27.  
  28. -Brent
  29.