当前位置:网站首页>C language 001: download, install, create the first C project and execute the first C language program of CodeBlocks
C language 001: download, install, create the first C project and execute the first C language program of CodeBlocks
2022-07-08 00:11:00 【Cloth scholar Python】
codeblocks Run the first C Steps of language program
- One 、 download Code::Blocks Steps for
- step 1: Browser open Code::Blocks Official website
- step 2: Click on the left side of the Downloads Button
- step 3: Click on `Download the binary release` Button
- step 4: Click on `Windows XP/Vista/7/8x/10` Button
- step 5: Click on ` Red box ` Of the line `FossHUB` Button
- step 6: Click on `Code Blocks Windows 64 bit (including compiler)`
- step 7: Select the download directory of the file , Click to download
- step 8: Get program documents `codeblocks-20.03mingw-setup.exe`
- Two 、 install Code::Blocks Steps for
- step 1: Double click the program file `codeblocks-20.03mingw-setup.exe`
- step 2: Click on `Next >` Button
- step 3: Click on `I Agree` Button
- step 4: Click on `Next >` Button
- step 5: Click on `Istall` Button
- step 6: Wait for the installation to complete , Click on ` no ` Button
- step 7: Click on `Next >` Button
- step 8: Click on `Finish` Button
- 3、 ... and 、 establish C Project and run the first C Program
- step 1: Find the CodeBlocks Software , Double-click to open
- step 2: After opening the software , Click on Create a new project Button
- step 3: Click to select Console application, And then click Go Button
- step 4: Click on `Next >` Button
- step 5: First choose `C` , And then click `Next >` Button
- step 6:`1` Fill in the `my_project`,`2` Fill in the `D:\c_project`, And then click `Next >` Button
- step 7: Click on `Finish` Button
- step 8: Click on `Sources` Ahead `+` Number
- step 9: double-click `main.c`
- step 10: Click the button in the red box below
- step 10: First of all `Hello world` The procedure was successfully implemented !
- ending
One 、 download Code::Blocks Steps for
step 1: Browser open Code::Blocks Official website
step 2: Click on the left side of the Downloads Button
step 3: Click on Download the binary release
Button
step 4: Click on Windows XP/Vista/7/8x/10
Button
step 5: Click on Red box
Of the line FossHUB
Button
Be careful :
If your computer operating system 32 position
Click on the line below FossHUB
:
If you don't know how many bits your computer's operating system is , It can be on the desktop —> My computer —> Right click —> attribute —> System , To view the . As shown in the figure below , My is 64 Bit .
step 6: Click on Code Blocks Windows 64 bit (including compiler)
step 7: Select the download directory of the file , Click to download
step 8: Get program documents codeblocks-20.03mingw-setup.exe
Two 、 install Code::Blocks Steps for
step 1: Double click the program file codeblocks-20.03mingw-setup.exe
step 2: Click on Next >
Button
step 3: Click on I Agree
Button
step 4: Click on Next >
Button
step 5: Click on Istall
Button
Be careful : The default installation is enough , But it is recommended to install to D disc ( modify Destination Folder
Below C
:\Program Files\CodeBlocks
Change it to D
:\Program Files\CodeBlocks
step 6: Wait for the installation to complete , Click on no
Button
step 7: Click on Next >
Button
step 8: Click on Finish
Button
So far, our software has been successfully installed , The next step is to find the software on the desktop , And double click to open .
3、 ... and 、 establish C Project and run the first C Program
step 1: Find the CodeBlocks Software , Double-click to open
step 2: After opening the software , Click on Create a new project Button
step 3: Click to select Console application, And then click Go Button
step 4: Click on Next >
Button
step 5: First choose C
, And then click Next >
Button
step 6:1
Fill in the my_project
,2
Fill in the D:\c_project
, And then click Next >
Button
Be careful
:
Above picture 1 The location of is filled with the name of the project ( You can name it yourself )
Above picture 2 The location of is filled in the storage path of the project ( You can choose )
step 7: Click on Finish
Button
step 8: Click on Sources
Ahead +
Number
step 9: double-click main.c
step 10: Click the button in the red box below
step 10: First of all Hello world
The procedure was successfully implemented !
ending
thus CodebBocks The download 、 install 、 Create the first one C project 、 Execute the first C Language program , Has been successfully completed , The rest is learning C Language , And keep practicing writing code !! Congratulations on your successful entry C Language !
边栏推荐
- Visual Studio Deployment Project - Create shortcut to deployed executable
- 快速上手使用本地测试工具postman
- 【编程题】【Scratch二级】2019.12 绘制十个正方形
- [path planning] use the vertical distance limit method and Bessel to optimize the path of a star
- The underlying principles and templates of new and delete
- Stm32f1 and stm32cubeide programming example - rotary encoder drive
- 如果在构造函数中抛出异常,最好的做法是防止内存泄漏?
- 【推荐系统基础】正负样本采样和构造
- Redis caching tool class, worth owning~
- Notice on organizing the second round of the Southwest Division (Sichuan) of the 2021-2022 National Youth electronic information intelligent innovation competition
猜你喜欢
Connect diodes in series to improve voltage withstand
Binder核心API
Basic learning of SQL Server -- creating databases and tables with code
Zhou Hongqi, 52 ans, est - il encore jeune?
【史上最详细】信贷中逾期天数统计说明
HB 5469 combustion test method for non-metallic materials in civil aircraft cabin
如何衡量产品是否“刚需、高频、痛点”
【推荐系统基础】正负样本采样和构造
用語雀寫文章了,功能真心强大!
Rectification characteristics of fast recovery diode
随机推荐
数据湖(十五):Spark与Iceberg整合写操作
Enterprise application demand-oriented development of human resources department, employee attendance records and paid wages business process cases
Notice on organizing the second round of the Southwest Division (Sichuan) of the 2021-2022 National Youth electronic information intelligent innovation competition
Two small problems in creating user registration interface
C language learning
Detailed explanation of interview questions: the history of blood and tears in implementing distributed locks with redis
机器人(自动化)等专业课程创新的结果
Magic fast power
[研发人员必备]paddle 如何制作自己的数据集,并显示。
Introduction knowledge system of Web front-end engineers
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
35岁真就成了职业危机?不,我的技术在积累,我还越吃越香了
用語雀寫文章了,功能真心强大!
redis你到底懂不懂之list
Use filters to count URL request time
Basic learning of SQL Server -- creating databases and tables with code
Scrapy framework
Basic learning of SQL Server -- creating databases and tables with the mouse
测试流程不完善,又遇到不积极的开发怎么办?
Daily question brushing record (16)