Compiler suitable for beginners of C language: detailed installation & basic operation & change background of Dev_C++

If a worker wants to do a good job, he must first sharpen his tools. For beginners in C language, choosing a c compiler suitable for beginners is very helpful for our next study.
As a beginner of C language, I have used several compilers. This time, I recommend Dev_C++, which is very easy to use on Windows.


Dev_C++ is a small and lightweight C/C++ compiler, which is very fast to open and run, and has simple and practical functions.
This article is only suitable for beginners, because it is very wordy.


1. Installation of Dev_C++

1. Download the installation package

Click here for the download address.
This is the code hosting website of Dev_C++. It seems that Dev_C++ does not have its own dedicated website. After entering the website, click Download to download the latest version 5.11 of Dev_C++.
Click Download to download

It should be noted that Dev_C++ is indeed a very "old" compiler. The latest version 5.11 was released in 2015, and now it has stopped updating and maintaining. This caused a lot of criticism because it meant it wasn't new enough to keep up with the times. However, I think it is quite suitable for beginners because of its small size, simplicity, and convenience, and it also supports c89, c99, and c11.

2. Super detailed installation steps

  1. Double-click to open the installation package just downloaded
    insert image description here

  2. waiting
    insert image description here

  3. Only English can be selected here, then OKinsert image description here

  4. Agree to the agreementList item

  5. This is the selected component, directly next
    insert image description here

  6. Choose which directory to install in, I installed it on the D drive here. Click install to install
    insert image description here

  7. waitingList item

  8. The installation is complete, click Finish to openinsert image description here

  9. Here you can choose the language of the software interface, I use Chinese here. nextinsert image description here

  10. You can choose a theme here, or you can skip it, and I will teach you how to change it in the settings later.
    insert image description here

  11. In this way, the initial setup is successful, and the installation is complete.
    insert image description here

2. Use steps

  1. Open the interface of Dev_C++
    insert image description here

  2. Create source code
    File –> New –> Source Code insert image description here
    You can also click the shortcut button to create a new source code
    insert image description here

  3. Save the code after writing it.
    Note that the file format should be a .c file.
    or enter filename.c

input filename.c
or select save as type.c
Select save as type.c

  1. Compile and execute after saving. insert image description here
    got the answer
    insert image description here

3. How to change the background

  1. Tools –> Compiler Options
    insert image description here
  2. Then select "Grammar"
    to set the foreground and background by yourself
    . You can also choose the template in the lower left corner to see if it suits your appetite
    insert image description here
  3. Choose the Obvision template here.
    The uncomfortable thing is that not all windows have a background, only the code window does. It's rather awkward.
    insert image description here

Summarize

The above is the detailed installation & basic operation of Dev_C++. Welcome to leave a message in the comment area

Extended reading
Compiler suitable for beginners of C language: Detailed installation of Dev_C++ & basic operation & changing background
Dev-c++ 2: Solving undebuggable & debugging steps
Dev-c++ 3: Support c99

Guess you like

Origin blog.csdn.net/hellohelloe/article/details/112796365