Don't use Scanf()

Henry Spencer henry at utzoo.uucp
Thu Mar 24 04:30:10 AEST 1988


> 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



More information about the Comp.lang.c mailing list