home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18449 < prev    next >
Encoding:
Text File  |  1992-12-16  |  519 b   |  20 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!daffodil!wyvern!waggen!alpha
  3. From: alpha@waggen.twuug.com (Joe Wright)
  4. Subject: Re: Problem
  5. Message-ID: <1992Dec15.202343.19071@waggen.twuug.com>
  6. Organization: ALPHA, Box 68621, Va. Beach, VA 23455
  7. X-Newsreader: TIN [version 1.1 PL6]
  8. References: <714@ulogic.UUCP>
  9. Date: Tue, 15 Dec 1992 20:23:43 GMT
  10. Lines: 8
  11.  
  12. Right out of the book:
  13.  
  14.     int c;
  15.     while ((c = getchar()) != EOF)
  16.         putchar(c);
  17.  
  18. -- 
  19. Joe Wright  alpha@waggen.twuug.com  "Jose' can you C?"
  20.