当前位置:网站首页>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 !
边栏推荐
- [path planning] use the vertical distance limit method and Bessel to optimize the path of a star
- 52岁的周鸿祎,还年轻吗?
- 如何衡量产品是否“刚需、高频、痛点”
- Redis caching tool class, worth owning~
- 35岁那年,我做了一个面临失业的决定
- Robomaster visual tutorial (10) target prediction
- Go time package common functions
- 手写一个模拟的ReentrantLock
- How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
- DataGuard active / standby cleanup archive settings
猜你喜欢
Set up personal network disk with nextcloud
Binder核心API
About the difference between ch32 library function and STM32 library function
Is 35 really a career crisis? No, my skills are accumulating, and the more I eat, the better
[programming problem] [scratch Level 2] March 2019 draw a square spiral
paddle一个由三个卷积层组成的网络完成cifar10数据集的图像分类任务
[研发人员必备]paddle 如何制作自己的数据集,并显示。
Introduction to programming hardware
DataGuard active / standby cleanup archive settings
Coindesk comments on the decentralization process of the wave field: let people see the future of the Internet
随机推荐
快速回复二极管整流特性
BSS 7230 flame retardant performance test of aviation interior materials
用语雀写文章了,功能真心强大!
Rectification characteristics of fast recovery diode
Tools for debugging makefiles - tool for debugging makefiles
3年经验,面试测试岗20K都拿不到了吗?这么坑?
About the difference between ch32 library function and STM32 library function
The difference between get and post
Magic fast power
Automated testing: robot framework is a practical skill that 90% of people want to know
Pigsty: out of the box database distribution
HB 5469 combustion test method for non-metallic materials in civil aircraft cabin
Basic learning of SQL Server -- creating databases and tables with the mouse
Tencent security released the white paper on BOT Management | interpreting BOT attacks and exploring ways to protect
Solutions to problems in sqlserver deleting data in tables
Aitm3.0005 smoke toxicity test
Trust orbtk development issues 2022
Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)
[path planning] use the vertical distance limit method and Bessel to optimize the path of a star
Gorm Association summary