I. Preface:
The graduation project should be programmed in Linux in C or C ++ language. In the early stage, considering that the interface may be required, I was planning to use C ++, however, later I found that C is not as simple and convenient as C, so I prefer C.
Ii. compiler Selection
Originally, I wanted to use eclipse + CDT, but it was a pity that it was too busy. eclipse was too big, and the company's network was down. APT-Get installation was also very difficult, you also need to install the evil JRE...
I searched the internet and found a lightweight IDE, codeblocks, which is also an open-source cross-platform. Its functions are quite complete and only a dozen MB of data is written in C ++ and supports plug-ins. Alas, good! You have decided to use it.
Iii. Installation
I am too lazy to download and install it manually, so as not to be killed by the poor network. Sudo apt-Get install codeblocks.
After the codeblocks command is installed on the terminal, it can be opened. It is a little slow when it is started. You need to detect various things and you can bear it.
Iv. Test
Create a new C Project and add a c file. Step by step. That's a little tedious.
When adding a c file, note that belongs in target must at least select one item: Debug or release. Otherwise, the build will always fail.
You need to manually rebuild the file after each modification. If you run the file directly, the last generated file is run...
V. Summary
Eclipse is not powerful, but it comes with GCC and so on. files can be directly built and run, saving the trouble of setting. So it is usually used as a smallProgramOr something is good.
IDE is full of clouds, and programming is king.