当前位置:网站首页>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 !
边栏推荐
- Emotional post station 010: things that contemporary college students should understand
- Database query - what is the highest data?
- Reading notes 004: Wang Yangming's quotations
- Trust orbtk development issues 2022
- Robomaster visual tutorial (10) target prediction
- Les mots ont été écrits, la fonction est vraiment puissante!
- Single machine high concurrency model design
- [question de programmation] [scratch niveau 2] oiseaux volants en décembre 2019
- Database interview questions + analysis
- 【转载】解决conda安装pytorch过慢的问题
猜你喜欢
随机推荐
Fully automated processing of monthly card shortage data and output of card shortage personnel information
Set up personal network disk with nextcloud
The function is really powerful!
Trust orbtk development issues 2022
【編程題】【Scratch二級】2019.12 飛翔的小鳥
Database query - what is the highest data?
How to measure whether the product is "just needed, high frequency, pain points"
Data Lake (XV): spark and iceberg integrate write operations
How did a fake offer steal $540million from "axie infinity"?
Usage of limit and offset (Reprint)
Handwriting a simulated reentrantlock
Stm32f1 and stm32cubeide programming example - rotary encoder drive
Magic fast power
Go time package common functions
52歲的周鴻禕,還年輕嗎?
【转载】解决conda安装pytorch过慢的问题
[the most detailed in history] statistical description of overdue days in credit
[programming problem] [scratch Level 2] December 2019 flying birds
Connect diodes in series to improve voltage withstand
Is it safe to buy funds online?