Visual Studio 2022 Падручнік па ўсталёўцы

1、 Ўстаноўка VS

1. VS афіцыйны сайт: click here

After entering the official website, знайсці супольнасць 2022 (Выданне супольнасці) — распрацоўшчыкі могуць выкарыстоўваць яго ў акадэмічных мэтах бясплатна і з адкрытым зыходным кодам.

 

2. Пасля націску ў, файл vs.exe будзе аўтаматычна загружаны (як паказана на малюнку ніжэй):

3. Пасля загрузкі, як паказана на малюнку ніжэй, click to Next.

4. Installation completed

After the installation is completed, you can select the workload. It is recommended to check what you can use. Selecting all will occupy a lot of memory. If the learning content is increased later, you can still download it again. If you only want to learn c/c++, check it as shown in the following figure.

5. Installation position

Click Change to change the installation location. For the three files, you have selected different folders on disk D, as shown in the following figure (Нататка: VS IDE is placed in the default location, which may run faster)

6. Complete the above operations, click Install, and wait for the download to complete.

2、 Test installation succeeded

1. Create a project

Крок 1: Open VS and click Create New Project

Крок 2: Click on the empty item

Крок 3: Enter your own project name in the project name; select the storage location of the project in the location (it is recommended to create a separate folder for storing the project in the future) and finally click Create to complete the project creation.

2. Create a source file

After the mouse finds the source file, right-click, click Add , and then click New Item . After selecting the c++ file , change the storage location and source file name , and then click Add to complete the creation of the source file.

3. Write code

Once the project and source files have been created, the code can be written.

4. Compile the code + run

  • Method 1: Shortcut key ctrl+f5
  • Method 2: Click on the local Windows debugger

5. Running results

The running result is shown in the figure above, which proves that the VS2022 installation is complete, and congratulations on the completion of your own first c language project.

If you want to buy Visual Studio 2022 Ключ прадукту, please order the link directly