No. Once compiled the source code cannot be retrieved.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
but why?
Probably because of the way in which the object file is generated from the source file...
The actual C / C++ source code goes thorough a lot of transformations and platform specific optimizations during its compilation and building phase which make the source code from the object file to be retrieved almost impossible.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
Assembly on the other hand, can be disassembled fairly easily from an executable because it's so low-level. Java is also very easy to decompile; you can get almost an exact replica of the original source code if you run it through a decompiler because it's only compiled to bytecode.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339