Please, any one help me to write a c++ program which display its source code???
That is no fun comatose!!!! The program should write itself without reference to the source code!!! You want to look up quine e.g.[URL="http://prokutfaq.byethost15.com/Cquine"]http://prokutfaq.byethost15.com/Cquine[/URL] I distinctly remember the first time I saw a quine program,. fortran-77 -- I am getting old :) -- and I was very happy when I finally … Read More
[QUOTE=Comatose;800389]Show me the code you have, and I can see what help I can offer once I see what effort you have applied. Step 1. Read argv. argv is the name of the file Step 2. Check that argv file still exists (yeah, it should) step 3. Open the file … Read More