Home  >  Article  >  Backend Development  >  How to use visualc++6.0

How to use visualc++6.0

coldplay.xixi
coldplay.xixiOriginal
2020-07-03 13:12:1415551browse

How to use visualc 6.0: First download this software, enter the main window of the program and create a new file; then save it in the project directory with the suffix [.c]; finally enter the code in the text box to run it. Can.

How to use visualc++6.0

Instructions for using visualc 6.0:

1. First, you need to download and install this software. The specific process is not covered here. Again.

There will be a compatibility prompt when using the software for the first time. We don’t care about it. Click Don’t show it again and run the program. If there is a problem with your compatibility, you need to set the compatibility.

How to use visualc++6.0

#2. Don’t click next step in the daily prompts. There are endless clicks on the next step. Remove the check mark displayed at startup, and then click the close button.

How to use visualc++6.0

3. Enter the main window of the program, click on the icon I circled, and create a new file

How to use visualc++6.0

4. Save it in the project directory you want to save. The file name is hello. Note that the suffix must be .c, and the .cpp suffix is ​​c file

How to use visualc++6.0

5. Introductory tutorial on writing simple C language programs using Visual C 6.0

Then enter the following content in the text box

#include <stdio.h>
int main(void)
{
printf("hello world!\n");
}

and press ctrl s to save File

Finally click on the compilation icon above to compile in c language

How to use visualc++6.0

6. After the compilation is completed, we click on the debugging icon to run the program we wrote. It is found that hello world has been output in the cmd control window

Indicates that our program runs successfully

How to use visualc++6.0

Related learning recommendations: C video tutorial

The above is the detailed content of How to use visualc++6.0. 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