Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!mailrus!uflorida!gatech!rebel!george From: george@rebel.UUCP (George M. Sipe) Newsgroups: comp.sources.d Subject: Re: v04i121: large digital clock Message-ID: <48538@rebel.UUCP> Date: 13 Oct 88 13:55:38 GMT Article-I.D.: rebel.48538 References: <48342@rebel.UUCP> <201@taux02.UUCP> Reply-To: george@rebel.UUCP (George M. Sipe) Organization: Tolerant Systems, Atlanta GA Lines: 18 In article <201@taux02.UUCP> amos@taux02.UUCP (Amos Shapir) writes: >The file digits.c is a textbook example of how NOT to write C (or any >structured programming language, for that matter). Didn't this guy ever >hear about loops and two-dimensional arrays of strings?! Hi Amos. Yes, I've heard of multi-dimensional arrays. Yup, the way it's done in digits.c is inelegant. But, it works, it causes no performance problems, it does not make the executable file much larger, and its easy to understand. I didn't design the thing. All I did personally was to clean up some of it and to post it. Amos, why don't *YOU* fix it and post your improved version. -- George M. Sipe, Phone: (404) 662-1533 Tolerant Systems, 6961 Peachtree Industrial, Norcross, GA 30071 UUCP: ...!{decvax,hplabs,linus,rutgers,seismo}!gatech!rebel!george