How to write programs using DEVC + +? Skills of DEVC + + creating new projects and compiling and running

Time:2022-5-1

I think DEV-C + + is a compact and convenient compiler. If you want to use DEVC + + to create a new project and compile and run it, how can you do simple operations? Let’s take a look at the detailed tutorial.

1、 New project

Run DEVC + + and click the file button.

choiceCreate a new project.

Take Win32 console program as an example.You can choose C language or C + + language to writeThe project name can be set according to your own needs.

After that, you will be prompted to save the project. Select a folder to save the project file.

Next you will see an outline of a C language program.If you use C plus language, there is a similar outline。 Is the source code provided by the program itself.

We just add a sentence to output the code of Hello world, and then click the run button in the menu bar.

Select compile and run or pressShortcut key F11

The operation effect is shown in the figure below. The operation process of other projects is similar.

2、 Example introduction

First open the DEVC + + editor.

Write a program.

Click save.

Then click the Run menu at the top.

Click compile under the Run menu.

Then click Run.

At this time, you can see the results of the operation.

The above are the skills for DEVC + + to create a new project and compile and run it. I hope you like it. Please continue to pay attention to developpaer.

Relevant recommendations:

How to change DEVC + + language to Chinese? DEVC + + Chinese skills