1、 ВС Инсталлатион
1. ВС званични сајт: click here
After entering the official website, пронађите заједницу 2022 (Цоммунити Едитион) — програмери могу да га користе у академске сврхе бесплатно и отвореног кода.
2. Након клика на, датотека вс.еке ће бити аутоматски преузета (као што је приказано на слици испод):
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 Визуелни студио 2022 Шифра производа, please order the link directly