C++ usually uses a two stage compiling process. One process compiles it into assembly, and then you can compile that file into a static library.
g++ -c hello.C
g++ hello.o -o hello
This is gnu MinGW (Windows)/gcc (Linux) solution.
If you are to view the hello.o, you can view the assembly.
Searching google or similar search engines for "microsoft visual studio c++ show assembly" has several hits on showing assembly and using assembly in your c++ code for visual studio.
If you are interested in assembly, try some masm and nasm tutorials.
Comment