home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
2
/
2589
< prev
next >
Wrap
Internet Message Format
|
1991-01-22
|
2KB
From: israel@mitisft.Convergent.COM (Paul Israel)
Newsgroups: alt.sources
Subject: Re: VI SOLVES MAZE (and lies about it)
Message-ID: <1769@mitisft.Convergent.COM>
Date: 18 Jan 91 18:23:12 GMT
In article <1991Jan17.155044.8289@cbnewsd.att.com> timborn@cbnewsd.att.com (timothy.d.born) writes:
%In article <14885@sunspot.megatest.UUCP>, ivan@megatest.UUCP (Ivan Batinic) writes:
%> But the real joke that seems to be escaping some of you is the
%> original form of the source:
%>
%>
%> char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",&
%> C) ;-- E;J [E ]=M
%> [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|"
%> ) , A = 39 ,C --
%> ) ; Z || printf (T ))T[Z]=Z[A-(E =A[J-Z])&&!C
%> & A == M[ A]
%> |6<<11<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}
%>
%>
%> Which forms a maze if you look far away and squint your eyes.
%> Therefore, the poster was not lying, it is a "Maze C-Program" in the
%> truest possible way:
%>
%> a) It attempts to print a maze
%> b) It looks like a maze in source
%> c) Parsing the source is like solving a maze
%>
Actually, the source forms the word "maze", using a combination of
large and small lettering, ie MaZE. I kinda thought THAT was the real
joke.
--
Paul Israel
Renegade Systems, 434 South Bernardo Ave, #2 Sunnyvale, CA 94086
Disclaimer: "Who, me? I wasn't even there!"
ctnews!mitisft!hamster!israel