search
HomeCommon ProblemHow to run a program in visual studio

How to run a program in visual studio

Mar 03, 2020 pm 12:46 PM
visual studioRun program

Visual Studio is a very good C/C compiler, but you may not be able to use it when you are new to it. I will teach you today.

How to run a program in visual studio

How to run the program in visual studio

1. Open the Visual Studio software.

Recommended learning: C language video tutorial

2. Click File--->New--->Project.

How to run a program in visual studio

#3. Enter the file path and project name and select the empty project, then click OK.

How to run a program in visual studio

4. Right-click the source file and click Add --->New item.

How to run a program in visual studio

5. Select the C file

How to run a program in visual studio

6. Then you can enter the code.

How to run a program in visual studio

#7. After entering the code, return 0 at the end; add getchar(); in front; otherwise you will not see the running results.

How to run a program in visual studio

#8. Finally, click "Local Windows Debugger" to run.

How to run a program in visual studio

#9. Successfully executed.

How to run a program in visual studio

For more related tutorials, please pay attention to PHP Chinese website!

The above is the detailed content of How to run a program in visual studio. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor