Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond!diamond From: diamond@diamond.csl.sony.junet (Norman Diamond) Newsgroups: comp.std.c Subject: Re: Portable Self-Replicating C Contest Message-ID: <10159@socslgw.csl.sony.JUNET> Date: 13 Apr 89 01:50:34 GMT References: <12144@haddock.ima.isc.com> <12593@haddock.ima.isc.com> <6647@bsu-cs.bsu.edu> <12629@haddock.ima.isc.com> Sender: news@csl.sony.JUNET Reply-To: diamond@diamond. (Norman Diamond) Organization: /usr/lib/news/organization Lines: 13 In article <12629@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes: [about the rule that contest entries must use trigraphs] > It makes the problem more challenging. Note that a program which satisfies > all of the rules except this one is not self-reproducing after a naive > conversion to trigraphs, because `printf("??=")' will output `#', not `??='. Yes indeed, such conversions take place even in strings. I wonder how such programs execute in environments that don't have a '#' character. Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net) The above opinions are my own. | Why are programmers criticized for If they're also your opinions, | re-inventing the wheel, when car you're infringing my copyright. | manufacturers are praised for it?