[Solved] Creating a .cpp in Visual Studio 2010

Sunius

Distinguished
Dec 19, 2010
390
0
19,060
Create a new project: press Ctrl + Shift + N, Select Win32 and then console application. Enter a name for your program and press "OK" button. Then, press "Next". On the next screen, check "Empty project" check box and press finish. Lastly, right click "source" folder in solution explorer, press add existing file, and add your cpp file.

Now, if you want to execute it, press F5.