A program that prints itself
selfprnt.c
 
You probably should not be looking at this program.
 
I wrote it some time ago as a solution to a problem posed in a computer science course:
 
Can one write a program that prints an identical copy of its source code?
 
You should probably try solving the problem yourself before you look at my answer.
Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 15 of 485)
 
Comments, flames, broken links?
Please send email to maintainer@intricate-simplicity.com