How do I make a C++ Program print its own source code?
- by Koning WWWWWWWWWWWWWWWWWWWWWWW
Just as the title says: how do I make a simple hello world program which, instead of printing Hello World, prints its own source code? I thought about resource files, but I think they count as source code, or I could hack the executable, include the source code somewhere in the file.
Can anyone point me in the right direction? Thanks