
C Program->Process->Same C Program
Quote:
>Do you know the C program
>whose output is that same
>C program text itself?
>The idea that a program, say,
> self.c would have some print
> statement to print 'self.c' file
> is not acceptable!!
>Sams.
The book "Obfuscated C and Other Mysteries", Author: Don Libes,
1993, Pub: John Wiley & Sons, Inc. ISBN 0-471-57805-3 has
examples of what you are looking for. It is in the chapter "The 1990
Obfuscated C Code Contest". There are several examples, the shortest
being two lines long. The book is very worthwhile and entertaining.
As well as helping one learn C in depth, it also shows
how not to write code.
Jim Muldoon.