Build a C++ development environment on Windows (visual studio 2022)

  • Build the development environment

    • Development tools: vscode, visual studio 2022, visual studio 2019, 2015, 2010..
    • Installation steps (take visual studio2022 under Windows as an example):
    1. Download Community Edition 2022

       

    2. After the download is complete, open the steps as follows

    3. After the installation is complete, it will automatically open and the following interface will appear

      1. Select an empty project and click Create
      2. Click on the source file, right mouse button and select Add->New Item
      3.  

      4. At this point, you can write your C++ code quietly in this file.

         Click the green triangle symbol to run the program

At this time, Hello World is printed on the screen, and the operation is successful!

Guess you like

Origin blog.csdn.net/weixin_40582034/article/details/130522577