This tutorial is part of a Collection: 02. DirectX 10 - Braynzar Soft Tutorials
rate up
0
rate down
1533
views
bookmark
01. Setting Up in VS 2010

This is just a quick lesson on how to set up your environment in MS Visual Studio 2010.

There are no files for this tutorial
This lesson will teach you how to setup Visual Studio 2010. First, start Visual Studio 2010. Then go to: File->New->Project On the Left side, under Installed Templates, go under Visual C++ and click on Win32. On the right side of the dialogue box, click on Win32 Project. At the bottom of the dialogue box, name your project and click "OK". +[http://www.braynzarsoft.net/image/100096][vs2010 setup] After you hit OK, this screen pops up. Click "Next" +[http://www.braynzarsoft.net/image/100097][vs2010 setup] Next is the Settings. Choose Windows Application and then Empty Project. After that click "Finish" +[http://www.braynzarsoft.net/image/100098][vs2010 setup] Now all you have to do is make a new source file. in the Solution Explorer, Right-Click on Source Files, then add, then New Item +[http://www.braynzarsoft.net/image/100099][vs2010 setup] In the dialogue that pops up, Under where it says Installed Templates, click on C++ File (.cpp). At the bottom, name the file "main.cpp", then click "Add". +[http://www.braynzarsoft.net/image/100100][vs2010 setup] Now you have an empty project ready to go. If you press F5 to compile, it will ask you to build it, say yes, and let it go. it will say there were errors so if you click "no", on the bottom you will see there was an error something like this: error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup Don't worry, thats just because there is nothing in your project. We will begin adding code in the next lesson. See you then!