1. Start Visual Studio from Program Files.
2. Create new Project. Choose Visual C++ as project type. And choose Win32 Console Application as template. And put the project name.
3. Click 'Next' to continue.
4. Check 'Console Application' and 'Empty project'. And click 'Finish'.
5. On the right side at the solutions explorer, there should be three empty folders. If you can't find solutions explorer, in the Menu Bar, go to View then choose 'Solution Explorer' or press Ctrl+Alt+L.
6. Right click on the folder called 'Source Files', choose add, then choose 'New Item...'
7. In the 'Categories', choose Visual C++ and from the templates, choose 'C++ File (.cpp)'. Enter a name for the file and click the 'Add' button.
8. A file should be added to folder 'Source Files'.
9. If the added file isn't opened, double click it then add your code.
10. After writing your code, you can execute it on debug or release mode by choosing from the drop down menu and clicking the green play button. It is better to execute in debug mode because all errors are documented well and you can find them more easily. Note: There are instances when the program you're debugging closes imediately after the last user input that's because Visual Studio debug mode don't pause after the last printf(), it exits afterwards. In order to avoid this from happening, you can run your program without debugging by going to the 'Debug' menu, then 'Start without debugging' or pressing Ctrl+F5.
11. A 'Command Prompt' window should display every time you run your program.