home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13485 < prev    next >
Encoding:
Text File  |  1992-09-10  |  719 b   |  22 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!grebyn!daily!richk
  3. From: richk@grebyn.com (Richard Krehbiel)
  4. Subject: Re: Help to solve problem with "gets()"
  5. Message-ID: <1992Sep10.232942.1537@grebyn.com>
  6. Organization: Grebyn Timesharing
  7. References: <1429@yetti.UUCP>
  8. Date: Thu, 10 Sep 1992 23:29:42 GMT
  9. Lines: 11
  10.  
  11. In article <1429@yetti.UUCP> g-yao@cs.yorku.ca (Ling Yao) writes:
  12. >Hi, Dear friends:
  13. >
  14. >   As a "C" novice, I would like to ask some advice about how to use
  15. >   gets().
  16.  
  17. I don't have to read any of the rest.  My advise is simple: Don't ever
  18. use gets().  Use fgets instead.
  19. -- 
  20. Richard Krehbiel                                 richk@grebyn.com
  21. OS/2 2.0 will do for me until AmigaDOS for the 386 comes along...
  22.