First it`s good to create a folder for your projects (anywhere you want), then go to:
File >> New >> Project... and select Win32 Console Application:
At the bottom give a name for your project, same as the solution name. At the location browse and select your projects folder to place the new project in.Then click Ok, then next (NOT finish), and check in the Empty project checkbox:
Then on the Solution Explorer (at the left side) right click on Source Files and select Add >> New Item...
Select C++ File (.cpp), name it whatever you want (I will call it main) , then click Add
And this is it, now just expand the Source Files folder and double click on your file (what I`we called main) and start coding !
Don`t forget to save your project (go to File >> Save all or press Ctrl + Shift + S).To debug and start your program press F5, for sure when you will write one.
Check out my video about this lesson: How to set up Visual C++ for a Console Application
Next lesson: C++ Lesson 3 - Hello world
Previous lesson: C++ Lesson 1 - Introducing
HTML Code
Direct Link
1 comments:
Thanks for the tutorial. Even though I learned this before, it's been a while so this is a nice reminder.
Post a Comment