Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!buengc!bph From: bph@buengc.BU.EDU (Blair P. Houghton) Newsgroups: comp.lang.c Subject: Re: programming challenge (silly) Message-ID: <2311@buengc.BU.EDU> Date: 16 Mar 89 18:40:15 GMT References: <2102@jasper.UUCP> <9789@smoke.BRL.MIL> <1712@vicorp.UUCP> Reply-To: bph@buengc.bu.edu (Blair P. Houghton) Followup-To: comp.lang.c Distribution: na Organization: Boston Univ. Col. of Eng. Lines: 21 In article <1712@vicorp.UUCP> charlie@vicorp.UUCP (Charlie Goldensher) writes: > >If you allow the -D command line option why not simply > > cc -Dp="main(){...}" ? > >Now the program is: > > p Funny. Wouldn't you then include the "main(){..." in the character count for the program? I would. It seems like _more_ work and more info to keep track of. You'd probably have to cobble up a Makefile for it, to keep from having to type it in after every revision. That really brings up the character count. --Blair "Better living through accounting? Naaah."