Codeblocks是一款免费的C语言开发编译软件,容量小,只有100多MB,安装简单,不需要license,使用时不需要json文件配置,或环境变量配置,对于快速做C代码学习调试来说,是很好的入门工具。
下面就下载安装和使用过程,一些细节和遇到的问题,整理一下,方便以后回顾。
下载可以直接从官网下载,下载地址是:https://www.codeblocks.org/downloads/binaries/#imagesoswindows48pnglogo-microsoft-windows
点击进去,可以看到以下列表:
同时,列表下面有一段话:
NOTE: The Codeblocks-20.03-setup.exe file includes Code::Blocks with all plugins. The codeblocks-20.03-setup-nonadmin.exe file is provided for convenience to users that do not have administrator rights on their machine(s).
NOTE: The codeblocks-20.03mingw-setup.exe file includes additionally the GCC/G /GFortran compiler and GDB debugger from MinGW-W64 project (version 8.1.0, 32/64 bit, SEH).
NOTE: The codeblocks-20.03(mingw)-nosetup.zip files are provided for convenience to users that are allergic against installers. However, it will not allow to select plugins / features to install (it includes everything) and not create any menu shortcuts. For the “installation” you are on your own.
If unsure, please use codeblocks-20.03mingw-setup.exe!
如果点开第一行的FossHUB,会弹出新的界面,
此时网页会自动下载< codeblocks-20.03-setup.exe>,大小是35.7MB。
但不确定自己电脑是否已有GCC编译器,所以按照英文的推荐,下载< codeblocks-20.03mingw-setup.exe >,也就是点击第4行的FossHUB,页面会自动下载<codeblocks-20.03mingw-setup.exe>,大小是145MB。
就按照这个来安装。
安装安装过程无需激活码,并提醒电脑上已有GNU GCC编译器,图片提示更改编译器主路径,不懂掠过。
这个环境配置,并不影响软件使用的。
界面配置按照个人使用习惯,调整界面配置。
菜单栏点击Setting->Editor,弹出以下窗口