home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18859 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  795 b 

  1. Path: sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
  2. From: John.Gibney@f386.n632.z3.fidonet.org (John Gibney)
  3. Newsgroups: comp.lang.c
  4. Subject: More on user input
  5. Message-ID: <725219491.AA05076@csource.oz.au>
  6. Date: Tue, 22 Dec 1992 14:03:08
  7. Sender: gateway@csource.oz.au
  8. Lines: 17
  9.  
  10. Howdy, All!
  11.  
  12. FANX! to everyone who chased me up about my suggestion to
  13. use "gets" for simple user input -- I now understand that
  14. memory overwrites might occur if "gets" reads too much and
  15. the input string buffer is trashed.
  16.  
  17. So, for my simplistic programming needs(!), I'll change to
  18. "fgets" and make sure everything is "inbounds".
  19.  
  20.  
  21. John  :-)
  22.  
  23. ... I haven't lost my mind; it's backed up on tape somewhere!
  24. ___ Blue Wave/QWK v2.10
  25.  
  26.  * Origin: Eastern Mail Centre [PEP] OZ. +61-3-725-1621 (3:632/386)
  27.