Forum unknown
· Programming
#GNUEMACS
3 messages in this thread
I thought it was so funny, Jerry P in Byte always annoys me going on about
WRITE and Intel Chips and S100 busses, wake up! I typed in the program in
the UN*X article, to see what it would do, (I already had a good idea,)
problem was Amy wouldn't run it, (Rather Lattice wouldn't ) It printed Helll
wlroldllllllllllll… or some such. I think I'd like that program printed on
a poster or a T-shirt, that would be neat. What does this program do?
#DEFINE TWENTYNINE 29
int ll,L1,l0,h_1,q,h1,h;
main() {
for(putchar(putchar((h=7)*10+2)+TWENTYNINE);l0?putchar(l0):!h_1;
putchar(ll),L1==2?ll=' ':0){
L1++==0?(ll=l0=54<<1):
ll=='l'&&L1<3?(ll+=1L | 1L<<1L,l0=0)
:L1==sizeof L1 && ll==' '
?(ll=19+h1):(q-=h1);
L1==5?ll-=8:q && &h_1;l1==sizeof ll+2?
(ll+=3):1L;ll==(h<<4)+2
&& L1!=6?(ll=ll-6):(h1=100L);l1!=1L<<3?q–
:(h_1=ll=h1);
} printf("%s\n",0); }
"..Note the absence of goto statements in the program. Also note how
portability of the program is enhanced by judicious use of the sizeof
operator. The dereference null pointer at the end is used to make sure the
output is properly terminated." People can read this issue by going to the
Computer Language forum here (GO CLM) and looking at the april issue. Very
funny. Who says C is a write only language? When is someone going to port
the NeuroSys operating system to the Amiga, they would do well together just
imagine, we'd have a neurotic guru to talk to.
did you ever see the results of the obscure C code contest? the winner wrote
a program that went: main () { xxxxx,xxxx,xxxxx,…} where instead of xxxxx
they were octal numbers. it wasn't very portable, but it did run on the pdp
11. never had the nerve to port it to the VAX. sdp
did you ever see the results of the obscure C code contest? the winner wrote
a program that went: main () { xxxxx,xxxx,xxxxx,…} where instead of xxxxx
they were octal numbers. it wasn't very portable, but it did run on the pdp
11. never had the nerve to port it to the VAX. sdp