delorie.com/archives/browse.cgi | search |
From: | "Martin Ambuhl" <mambuhl AT tiac DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: |
Date: | Sun, 30 Aug 1998 12:07:23 -0400 |
Organization: | Nocturnal Aviation |
Lines: | 15 |
Message-ID: | <6sbt4e$3u0@news-central.tiac.net> |
References: | <E0zBoRN-0004QX-00 AT sable DOT ox DOT ac DOT uk> <35E881DF DOT 7106 AT geocities DOT com> <6sb36g$hos AT news-central DOT tiac DOT net> <35E976E1 DOT 3B00 AT geocities DOT com> |
NNTP-Posting-Host: | p16.tc3.newyo.ny.tiac.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Adam Brown wrote in message <35E976E1 DOT 3B00 AT geocities DOT com>... |> fgets() is a good deal safer than gets(). |> sscanf() does a hell of a better job than sprintf() at handling input. | |In what way? ======= Which assertion don't you understand? 1) It is always safer not to let a function wildly overwrite memory. 2) Input is always done better by input functions than by output functions.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |