programming challenge (silly)

Blair P. Houghton bph at buengc.BU.EDU
Fri Mar 17 04:40:15 AEST 1989


In article <1712 at vicorp.UUCP> charlie at 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."



More information about the Comp.lang.c mailing list