is there any way that an exe file can be decompiled so that the source code can be viewed? (im using C++ 6) thanks for any help.
is there any way that an exe file can be decompiled so that the source code can be viewed? (im using C++ 6) thanks for any help.
this has been discussed several times here, search the forums:
http://cboard.cprogramming.com/searc...der=descending
the answer is: no, however, you can use a disassembler to get assembly code out of the exe.
Last edited by glUser3f; 12-15-2003 at 05:11 PM.
C compilers are not supposed to retain source code within the executable unless otherwise instructed - a VB compiler would probably be set up that way by default (or so I've heard), making it easy to reassemble the actual program (variable names unchanged and all). So you have to either make your own tools or use something that's already out there (hint: search "dissasemble[r]").
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
there is one for java.
it's called mocha .
Last edited by xviddivxoggmp3; 12-16-2003 at 12:56 AM.
"Hence to fight and conquer in all your battles is not supreme excellence;
supreme excellence consists in breaking the enemy's resistance without fighting."
Art of War Sun Tzu