Hi
Yes it prints n! and is pretty good at doing that(large precision)
I commented out the #include<stdio.h> and ran the preprocessor on the
original file.
Then i ran indent on the result to give it a decent look.
Then i changed all the variables to more meaningful ones.
The thirteenth line looks something like this
for (l = 0; l < 14; putchar ("\t\"8)>l\"9!.)>vl"[l] ^ 'L'), ++l);
It is supposed to print something like
"Enter number: "
The perplexing part is the putchar() in the loop
Taking a close look at it you can see that he has a 14 character striing in
the quotes "\t\"8)>l\"9!.)>vl" .This he indexes by [l]. While the loop
executes he extracts each character systematically and does an bitwise
exclusive OR with 'L' and prints the resulting character.This prints the
string.
Now the question why does he do an XOR with 'L' is easy. He could have done
an XOR with nethin for the matter but then the string in quotes would have
been different.
If a XOR b = c
then a XOR c = b
This explains the 13th line.
Will try to make sense out of the remaining code.
--
SANKHA SUBHRA SOM
ATC - BIOINFORMATICS
TCS
KLK BUILDING.
HYDERABAD-1
Ph:(040)6787980-1024
********************************************************
An anonymous digitoid
********************************************************
Everything happens to everybody sooner or later if there is time enough.
Hint:
1) You cant bury someone without digging hole. If you dont
make(allocate) space you cant store(read) things.
2) Think gets()
Amish.
Nikhil Joshi wrote:
>I've tried this simple prog to encrypt a file using XOR
>
>But it gives "Segmentation Fault " in 'interactive' mode (pls see the
>source code)
hi
i did go thru the confusy contest. the code i wrote was not as
confusing as the one just posted on the LUG (wish i had checked
mail earlier).
i used names like pepsi coke sprite, burger, pizza etc etc by
#defines for printf scanf etc etc . even used
mullllllllllllllllltiple function jumps to just do simple things.
It was real FUN...
results will comeout tomm let see. i think i messed up in the
debugging round...
gurpreet
i need suggestion from u, theres some configuration problem
i h've setup linux 7.3 Redhat with iptables firewall, n squid
proxy server
now i want to configure sendmail as a mail server for internal lan
user
the requirement is users from lan should able to send mails
through windows machine with the help of outlook express, i
already have a pop3 address for receiving mails from internet for
example xyz.com, so receiving is not a problem but i need to
configure my gateway such a way that user from lan (windows 98 /
2000 + outlook express installed ) should able to send mails to
anyone from outlook express through gatway.
pls tell me abt this from scratch that how should i setup sendmail
to do this task, i dont h've any registered domain name
i h've 64 kbps leased line with static ip n isp dns
if i use mail programme on gateway to send mails to xyz(a)yahoo.com
it works
now i want same thing should happen from client machine
i h've done SNAT on some machines
Thanx
Satsonic
Hello friends,
We at ACM Mumbai are organizing a seminar on RDF, which is a general
purpose language for representing information in the WWW and meant
primarily for representing metadata about web-resources.
The seminar titled "Resource Description Framework" is to be held on
Fri Sep 27, 2002 -- *6:30 pm*
at NCST, Gulmohar Cross Road 9, Juhu, Mumbai 400049. [Landmark: Copper
Chimney Restaurant].
(road map available at http://www.ncst.ernet.in/contactus/)
Please note that the seminar is at 6:30pm
and NOT at 5:35pm as written
erroneously in the ACM Mumbai newsletter.
We look forward to seeing you at the seminar.
The abstract of the seminar is given below:
Resource Description Framework(RDF) is a emerging standard monitored by
W3C for describing resources on the web. The seminar will cover what
exactly RDF is, how it can be useful to describe not only resources on the
web but any metadata, and the future of RDF. The talk will be full of
examples and practical discussion on RDF.
About the speaker:
Dharmesh Maniyar is a Staff Scientist in Education Technology Unit(ETU)
working at NCST Kharghar. His areas of interest are Online Learning, Data
Mining and Machine Learning.
- JJH for ACM, Mumbai.
>From: "Vinay L Deshpande" <vinay(a)ncoretech.com>
>Subject: [india-gii] Reply to Scott McCollum on his >article on Simputer
..schnitt...........
Way to go, Mr Vinay. That was one heck of a verbal gut punch. Fantastic oratory!
Anyone with even an iota of self-respect would lie down
and die quietly, after that.
I guess [and hope] that puts paid to the paleface!
I hope the following line would round off the massacre!
"Amateurs built the Ark! Professionals built the Titanic."
Keep it up! A billion plus are behind you, I'm sure, only they don't know it yet.
Brgds
Werner
____________________________________________________________
Tired of all the SPAM in your inbox? Switch to LYCOS MAIL PLUS
http://www.mail.lycos.com/brandPage.shtml?pageId=plus
hi
can someone plz tell me what obfuscation exactly is, and how to
obfuscate some code given to u.
actually we have an upcoming comptt. in goa college of engg. and
there is this even which is called "dubugsy n obfuscy" where we
have to obfuscate and debug some code tha'll be gven ot us and do
this ON PAPER...
SOS aaaaaaaaeee
Gurpreet
i have a linux 7.1 installed along windows managed by lilo
while upgrading to rh7.3 the cdrom cudnt live upto it and stops reading midway.
this messed up my earlier installation.
i got rh7.3 cds dumped on my hdd e:\rh73 (which is /dev/hda6 iguess)
tree is soemthing like this
e:\rh73
-> images
-> dosutils
-> RedHat
-> RPMS
-> base etc
i started the installation from command prompt using autoboot.bat a part of dosutils
now installation starts and asks me to select partition and then enter directory names.
i have tried every possible dir names and partition name
plz tell me how to identify / specify directory names holding installation files..
take care
harsh
hi there
i have tried to install gnome1.4
i have got some problem [errors]
can u suggest what is GLIBC_2.3 ?
is it provided by glibc-2.290
if not then what provides GLIBC_2.3
btwn my rpm installer is not very best at configuration
thanx
sachin
#--------------------------------------------------------------------------------------------------------------------------------
83:gnome-session ########################################### [ 82%]
gconftool-2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libpopt.so.0)
gconftool-2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libpopt.so.0)
error: execution of %post scriptlet from gnome-session-2.0.7.0.200209080026-0.snap.ximian.1 failed, exit status 1
84:gnome-system-monitor ########################################### [ 83%]
gconftool-2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libpopt.so.0)
gconftool-2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libpopt.so.0)
error: execution of %post scriptlet from gnome-system-monitor-2.0.2.0.200209080026-0.snap.ximian.1 failed, exit status
1
85:gnome-utils2 ########################################### [ 84%]
gconftool-2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libpopt.so.0)
gconftool-2: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libpopt.so.0)
error: execution of %post scriptlet from gnome-utils2-2.0.4.0.200209080026-0.snap.ximian.1 failed, exit status 1
--
~=~=~=~=~=~=~=~=~=~=~=~=~=~=
sachin(a)mediaibc.com
MediaIBC
~=~=~=~=~=~=~=~=~=~=~=~=~=~=
It is more rational to sacrifice one life than six.
-- Spock, "The Galileo Seven", stardate 2822.3
~=~=~=~=~=~=~=~=~=~=~=~=~=~=