Home >Backend Development >C#.Net Tutorial >How to use visualc++6.0
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.
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.
#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.
3. Enter the main window of the program, click on the icon I circled, and create a new file
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
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
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
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!