Win10 uses visual studio to write c++ program

  

The recent win0 users feedback to Xiaobian that they want to use VS2010 to write C++ programs under win10 system, but can't find the correct method, what should I do? Below, Xiaobian will share the method of writing C++ program output "Hello World" with VS2010. Let's go and have a look!

The details are as follows:

1, open VS2010, click the file on the menu bar--"New--" project;

2, select Visual C++- -> Win32 console application, fill in the name and location and click “ OK”;

3, the Win32 AppWizard appears, click “Next”;

4. Enter the application settings, select “empty items", then click “Complete";

5, right click in the source folder, select “ Add ”--"New item";

6. Select VC++--"C++ file (.cpp) and type the file name;

7. Enter your own code;

8. Click the Run button and you will successfully output “Hello World”.

The above is the method of writing C++ program using VS2010 under Win10 system introduced by Xiaobian. Friends who have the same needs can follow the above methods! Hope can help everyone!

Copyright © Windows knowledge All Rights Reserved