'Convert C++ program into assembly

I am using Visual Studio 2010 and suppose I have to write some program. Can I make it such that Visual Studio shows me this code translated into assembly language?

And if yes how do I do it? For example, I have a factorial program:

int fact(int n) {
    if (n<=1)  
        return 1;
    return n*fact(n-1);


Solution 1:[1]

Put a breakpoint into your factorial function, start debugging, go to Call Stack window, right click on your function, select Go To Disassembly

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 celavek