| Title: | The CHRISTIAN Notesfile |
| Notice: | Jesus reigns! - Intros: note 4; Praise: note 165 |
| Moderator: | ICTHUS::YUILLE ON |
| Created: | Tue Feb 16 1993 |
| Last Modified: | Fri May 02 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 962 |
| Total number of notes: | 42902 |
#include <stdio.h>
main(t,_,a)
char *a;
{
return!0<t?t<3?main(-79,-13,a+main(-87,1-_,main(-86,0,a+1)+a)):
1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\
;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \
q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \
){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \
iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# \
}'+}##(!!/")
:t<-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1)
:0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a,
"!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);
}
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 642.1 | POWDML::FLANAGAN | I feel therefore I am | Fri Dec 09 1994 09:10 | 1 | |
Are you speaking in tongues again? | |||||
| 642.2 | COVERT::COVERT | John R. Covert | Fri Dec 09 1994 09:24 | 4 | |
%CC-E-NOTPOINTER, address valued expression not found at line 15 /john | |||||
| 642.3 | PAULKM::WEISS | Trade freedom for His security-GAIN both | Fri Dec 09 1994 09:51 | 12 | |
>%CC-E-NOTPOINTER, address valued expression not found > at line 15 Sorry, John. I can't help you. I didn't write that mind-bending piece of code, so I have no idea how it's doing what it's doing. It works for the C compilers I've tried it with. > Are you speaking in tongues again? Thanks, Patricia. Made me laugh. :-) :-) Paul | |||||
| 642.4 | ICTHUS::YUILLE | Thou God seest me | Fri Dec 09 1994 10:16 | 8 | |
I got the same as John.... :-( But it was worth it for .1 .... ;-) Thanks Patricia. Andrew | |||||
| 642.5 | ICTHUS::YUILLE | Thou God seest me | Fri Dec 09 1994 10:48 | 5 | |
I'm told it compiles ok on unix, and when I saw the output, realised that I have a copy which works on VMS, from last year. Probably from this conference, somewhere... Andrew | |||||
| 642.6 | .C - worked for me on VMS | ICTHUS::YUILLE | Thou God seest me | Fri Dec 09 1994 10:49 | 59 |
#include <stdio.h>
main(t,_,a)
char *a;
{
return!
0<t?
t<3?
main(-79,-13,a+
main(-87,1-_,
main(-86, 0, a+1 )
+a)):
1,
t<_?
main(t+1, _, a )
:3,
main ( -94, -27+t, a )
&&t == 2 ?_
<13 ?
main ( 2, _+1, "%s %d %d\n" )
:9:16:
t<0?
t<-72?
main( _, t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;\
#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;\
q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){nl]!/n{n#'; \
r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#\
\
n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;\
{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;\
#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/")
:
t<-50?
_==*a ?
putchar(a[31]):
main(-65,_,a+1)
:
main((*a == '/') + t, _, a + 1 )
:
0<t?
main ( 2, 2 , "%s")
:*a=='/'||
main(0,
main(-61,*a, "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry")
,a+1);}
| |||||
| 642.7 | PAULKM::WEISS | Trade freedom for His security-GAIN both | Fri Dec 09 1994 11:21 | 4 | |
The original has worked for me on both VAX/VMS and Alpha/VMS systems. I don't know why it doesn't work on other people's systems. Paul | |||||
| 642.8 | CSLALL::HENDERSON | Learning to lean | Fri Dec 09 1994 11:23 | 3 | |
so how does a bozo like me who doesn't know C run this thing? | |||||
| 642.9 | PAULKM::WEISS | Trade freedom for His security-GAIN both | Fri Dec 09 1994 11:28 | 10 | |
Extract one of the notes into a file, something.c. Make sure you extract/ noheader. Then just: $ CC something $ LINK something $ RUN something On VMS at least. Paul | |||||
| 642.10 | No go | ODIXIE::HUNT | Fri Dec 09 1994 13:07 | 7 | |
I must have done something wrong. VMS didn't recognize CC as a
command. Do I need to define it somehow? I did the Link and got a ton
of error messages. It didn't run.
Oh well...
Bing
| |||||
| 642.11 | FRETZ::HEISER | Grace changes everything | Fri Dec 09 1994 13:14 | 7 | |
You probably don't have the Vax C compiler installed. try this:
$ dir sys$system:vaxc.exe
Mike
| |||||
| 642.12 | ;-) | ICTHUS::YUILLE | Thou God seest me | Fri Dec 09 1994 13:18 | 31 |
� I must have done something wrong. VMS didn't recognize CC as a
! shock horror ! Are you sure you spelt it right? Both of the 'C's with
the same key?
What do you *do* all day if you can't do a 'C' compile?
- Rhetorical, you don't really need to tell me! ;-)
When I wake up in the morning I can't do anything until I've done a bunch
of #includes -
#include prayer&Biblereading
#include clothes
#include breakfast
Only then am I ready to switch over to
main()
{
and get into the car to go to work.
but as for the rest, where it comes to and where it goes, I don't know.
I thought it was there, probably on day 5, but maybe it actually waited
until the second week...
sorry
Andrew
excuse me, but:
}
| |||||
| 642.13 | Am I spending a lot of time for little return? | ODIXIE::HUNT | Fri Dec 09 1994 13:37 | 19 | |
OK, I found a system which has the executable installed. When I did
the "link som" I got the following:
%LINK-W-NUDFSYMS, 2 undefined symbols:
%LINK-I-UDFSYM, C$MAIN_ARGS
%LINK-I-UDFSYM, FPUTC
%LINK-W-USEUNDEF, undefined symbol C$MAIN_ARGS referenced
in psect $CODE offset %X00000006
in module SOM file SHR63:[HUNT]SOM.OBJ;1
%LINK-W-USEUNDEF, undefined symbol FPUTC referenced
in psect $CODE offset %X00000106
in module SOM file SHR63:[HUNT]SOM.OBJ;1
[my file name is som.c]
Looks like Greek to me.
Is this worth pursuing any further?
Bing
| |||||
| 642.14 | I used DEC C, not VAX C | NOVA::MAATTA | Lisa Ann Smith, Oracle Rdb Engineering | Fri Dec 09 1994 14:24 | 4 |
I got the original program to work with the DEC C compiler on Alpha, but
not the VAX C compiler.
It's actually kind of cute!
| |||||
| 642.15 | ICTHUS::YUILLE | Thou God seest me | Sat Dec 10 1994 07:29 | 11 | |
Bing, I hope it doesn't spoil the fun for you, but if you like you can try to run it by : $ Run FORTY2::user89:[yuille.public]seasonal - it takes out the fun of compiling and linking, but you can do that to other programs, when there isn't such a rush for Christmas ... ;-) Andrew | |||||