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++ installation & basic operation & change background
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++.
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
-
Double-click to open the installation package just downloaded
-
waiting
-
Only English can be selected here, then OK
-
Agree to the agreement
-
This is the selected component, directly next
-
Choose which directory to install in, I installed it on the D drive here. Click install to install
-
waiting
-
The installation is complete, click Finish to open
-
Here you can choose the language of the software interface, I use Chinese here. next
-
You can choose a theme here, or you can skip it, and I will teach you how to change it in the settings later.
-
In this way, the initial setup is successful, and the installation is complete.
2. Use steps
-
Open the interface of Dev_C++
-
Create source code
File –> New –> Source Code
You can also click the shortcut button to create a new source code
-
Save the code after writing it.
Note that the file format should be a .c file.
or enter filename.c
or select save as type.c
- Compile and execute after saving.
got the answer
3. How to change the background
- Tools –> Compiler Options
- 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
- 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.
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