How to Open a C++ Project on VS22 and get started

 

How to Open a C++ Project on VS2022 and Get Started

In this blog I will be going through a step by step process on how to open a c++ project on Visual Studio 2022 and print "Hello World". Before you begin you would need Visual Studio 2022 , Once downloaded and set up you are now ready to begin!



Step 1: Select the "Create a new project" box which is located at the right side of the screen at the bottom of the "Get Started" drop down.



Step 2: At the top of the screen there should be a search bar, Click the search bar and type "C++" and then you will be given a list of options, Select "Empty Project" and click "Next" at the bottom right of the screen.



Step 3: Create a Project Name ( I came up with "CPlusTutorial" but you are able to use any name you wish).  After inputing a name select which location on your PC you will like to store your project and then select "Create" at the bottom right corner of the screen.



Step 4: To the right of the screen there is a box called the "Solution Explorer", In that box select the "Source Files" folder and right click and select "Add" then "New Item".


Step 5: After selecting "New Item" this window will appear on your screen, select "C++ File(.cpp)" and select "Add" at the bottom right of the window.



Your screen should now appear like this which will enable you to write code.


Video on how to print "Hello World" using c++ : 










Comments

Popular posts from this blog

How To Write to File on C++

How To Use Arrays in C++