当前位置:网站首页>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

https://www.codeblocks.org/
 Insert picture description here

step 2: Click on the left side of the Downloads Button

 Insert picture description here

step 3: Click on Download the binary release Button

 Insert picture description here

step 4: Click on Windows XP/Vista/7/8x/10 Button

 Insert picture description here

step 5: Click on Red box Of the line FossHUB Button

 Insert picture description here
Be careful :
If your computer operating system 32 position Click on the line below FossHUB
 Insert picture description here
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 .
 Insert picture description here

step 6: Click on Code Blocks Windows 64 bit (including compiler)

 Insert picture description here

step 7: Select the download directory of the file , Click to download

 Insert picture description here

step 8: Get program documents codeblocks-20.03mingw-setup.exe

 Insert picture description here

Two 、 install Code::Blocks Steps for

step 1: Double click the program file codeblocks-20.03mingw-setup.exe

 Insert picture description here

step 2: Click on Next > Button

 Insert picture description here

step 3: Click on I Agree Button

 Insert picture description here

step 4: Click on Next > Button

 Insert picture description here

step 5: Click on Istall Button

 Insert picture description here
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

 Insert picture description here

step 7: Click on Next > Button

 Insert picture description here

step 8: Click on Finish Button

 Insert picture description here

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

 Insert picture description here

step 2: After opening the software , Click on Create a new project Button

 Insert picture description here

step 3: Click to select Console application, And then click Go Button

 Insert picture description here

step 4: Click on Next > Button

 Insert picture description here

step 5: First choose C , And then click Next > Button

 Insert picture description here

step 6:1 Fill in the my_project,2 Fill in the D:\c_project, And then click Next > Button

 Insert picture description here
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

 Insert picture description here

step 8: Click on Sources Ahead + Number

 Insert picture description here

step 9: double-click main.c

 Insert picture description here

step 10: Click the button in the red box below

 Insert picture description here

step 10: First of all Hello world The procedure was successfully implemented !

 Insert picture description here

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 !

原网站

版权声明
本文为[Cloth scholar Python]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130552292583.html