当前位置:网站首页>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 !
边栏推荐
- limit 与offset的用法(转载)
- 【編程題】【Scratch二級】2019.12 飛翔的小鳥
- Data analysis series 3 σ Rule / eliminate outliers according to laida criterion
- 关于组织2021-2022全国青少年电子信息智能创新大赛西南赛区(四川)复赛的通知
- [leetcode] 20. Valid brackets
- Basic learning of SQL Server -- creating databases and tables with code
- ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
- [programming problem] [scratch Level 2] draw ten squares in December 2019
- CoinDesk评波场去中心化进程:让人们看到互联网的未来
- The difference between get and post
猜你喜欢
Solutions to problems in sqlserver deleting data in tables
[programming problem] [scratch Level 2] draw ten squares in December 2019
PostGIS learning
One click free translation of more than 300 pages of PDF documents
Anaconda+pycharm+pyqt5 configuration problem: pyuic5 cannot be found exe
【编程题】【Scratch二级】2019.12 绘制十个正方形
ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
【编程题】【Scratch二级】2019.12 飞翔的小鸟
面试题详解:用Redis实现分布式锁的血泪史
2022-07-07:原本数组中都是大于0、小于等于k的数字,是一个单调不减的数组, 其中可能有相等的数字,总体趋势是递增的。 但是其中有些位置的数被替换成了0,我们需要求出所有的把0替换的方案数量:
随机推荐
Handwriting a simulated reentrantlock
Opengl3.3 mouse picking up objects
[basis of recommendation system] sampling and construction of positive and negative samples
limit 与offset的用法(转载)
关于组织2021-2022全国青少年电子信息智能创新大赛西南赛区(四川)复赛的通知
C language 005: common examples
Fully automated processing of monthly card shortage data and output of card shortage personnel information
Les mots ont été écrits, la fonction est vraiment puissante!
Zhou Hongqi, 52 ans, est - il encore jeune?
PostGIS learning
Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)
Connect diodes in series to improve voltage withstand
[研发人员必备]paddle 如何制作自己的数据集,并显示。
paddle入门-使用LeNet在MNIST实现图像分类方法一
Is Zhou Hongyi, 52, still young?
The difference between -s and -d when downloading packages using NPM
STM32F1與STM32CubeIDE編程實例-旋轉編碼器驅動
[programming problem] [scratch Level 2] March 2019 draw a square spiral
Go learning notes (1) environment installation and hello world
Linkedblockingqueue source code analysis - add and delete