C++ to asm converter.

Is there a way to convert C++ code to asm code? A software or something?

Yes, you can do this with software called a "compiler". :)

Here is how one does it with the popular g++ compiler:

g++ -S source.cpp
Last edited on
Oh, yes, I forgot to mention: I have the Code::Blocks IDE. Can I do that in C::B? Where I have to put that line?
You have a compiler somewhere. Figure out which one, and go from there. If you installed the standard Code::Blocks binary installation for windows, you have the MinGW port of gcc and the above line is everything you need.
Last edited on
I've installed Code::Blocks for windows and I have the GNU GCC compiler. I think that the line above must be writed somewhere. Can you tell me where do I have to put that line?
Topic archived. No new replies allowed.