Xref: utzoo comp.sys.m6809:739 comp.lang.c:8455 Newsgroups: comp.sys.m6809,comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Don't use Scanf() Message-ID: <1988Mar23.183010.1011@utzoo.uucp> Keywords: C stdio library Organization: U of Toronto Zoology References: <2401@ihwpt.ATT.COM> <320@c10sd1.StPaul.NCR.COM> Date: Wed, 23 Mar 88 18:30:10 GMT > Paranthetically, it is good practice to gather all of your fopens, opens, > etc, together in a few well defined places in portable code... This turns out to be a good idea for another reason: if you seriously care about good-quality error handling, it almost always needs to be customized to your program to some extent, and things are much simpler if the error handling for things like fopen is centralized. -- "Noalias must go. This is | Henry Spencer @ U of Toronto Zoology non-negotiable." --DMR | {allegra,ihnp4,decvax,utai}!utzoo!henry