Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!linus!philabs!cmcl2!harvard!think!mit-eddie!nathan From: nathan@mit-eddie.MIT.EDU (Nathan Glasser) Newsgroups: net.lang.c Subject: Re: Creating functions in data space Message-ID: <1198@mit-eddie.MIT.EDU> Date: Thu, 6-Mar-86 08:27:47 EST Article-I.D.: mit-eddi.1198 Posted: Thu Mar 6 08:27:47 1986 Date-Received: Sun, 9-Mar-86 08:23:15 EST References: <1486@decwrl.DEC.COM> Reply-To: nathan@eddie.UUCP (Nathan Glasser) Organization: MIT EECS Dept. Lines: 20 A couple of years ago there was a "contest" on usenet for the most obscure/unreadable C code. The winner was a program which was of the form char *main[] = { ... }; Where ... is a sequence of bytes. I remember that they were given in all the possible ways: some in decimal, some octal, some hex, some characters. There was only 1 file, and it compiled and ran fine on vaxen, and I think was supposed to work on pdp's too. I think it did some little tiny animated type thing using backspaces to erase and move something across the line. Anyway, isn't this putting code into the data space? Nathan Glasser nathan@mit-eddie.uucp nathan@mit-xx.arpa