My programming is a freshman time with C as a primer, that time directly installed VC + +, this thing interpreter will be installed for you. In the near period of time contact Codeblocks, just know this goods need to configure GCC, this is the focus of this article.
First Download TMD-GCC website: http://tdm-gcc.tdragon.net/download
I downloaded the tdm64-gcc-5.1.0-2 (because my computer is 64-bit)
Install the Software:
①: Be careful not to select the following box, such as:
650) this.width=650; "title=" 01.png "alt=" wkiol1jxw-fyytdgaagisedvpee107.png-wh_50 "src=" https://s2.51cto.com/ Wyfs02/m02/8f/31/wkiol1jxw-fyytdgaagisedvpee107.png-wh_500x0-wm_3-wmp_4-s_2279132556.png "/>
②: Select the installation address
650) this.width=650; "title=" 02.png "alt=" wkiol1jxyakcln87aae9shv2fcm026.png-wh_50 "src=" https://s2.51cto.com/ Wyfs02/m01/8f/32/wkiol1jxyakcln87aae9shv2fcm026.png-wh_500x0-wm_3-wmp_4-s_1054485883.png "/>
③: Verify that the software (GCC) is installed successfully in the CMD panel (DOS) input: Gcc-v appears as message is successful
650) this.width=650; "title=" 03.png "alt=" wkiol1jxyscgouutaabmuw7gjrk349.png-wh_50 "src=" https://s3.51cto.com/ Wyfs02/m01/8f/32/wkiol1jxyscgouutaabmuw7gjrk349.png-wh_500x0-wm_3-wmp_4-s_903780914.png "/>
Okay, start configuring the software Codeblocks
①: Settings->complier Enter the interface as shown, and make the settings in the interface
650) this.width=650; "title=" 04.png "alt=" wkiol1jxzs6bzpaxaaex7w518rg541.png-wh_50 "src=" https://s4.51cto.com/ Wyfs02/m02/8f/32/wkiol1jxzs6bzpaxaaex7w518rg541.png-wh_500x0-wm_3-wmp_4-s_816415814.png "/>
OK, then compile and run the program and try it.
650) this.width=650; "title=" 05.png "alt=" wkiol1jxz43asuvyaacnqcxqaic096.png-wh_50 "src=" https://s5.51cto.com/ Wyfs02/m00/8f/32/wkiol1jxz43asuvyaacnqcxqaic096.png-wh_500x0-wm_3-wmp_4-s_1602876592.png "/>
Check the Open console ():
650) this.width=650; "title=" 06.png "alt=" wkiol1jxz9zz0i0gaaau0qyj1s4356.png-wh_50 "src=" https://s4.51cto.com/ Wyfs02/m00/8f/32/wkiol1jxz9zz0i0gaaau0qyj1s4356.png-wh_500x0-wm_3-wmp_4-s_194684105.png "/>
All right, this time, in Codeblocks, the compile environment for C + + is perfect! Thxs.
This article is from the "Better_power_wisdom" blog, make sure to keep this source http://aonaufly.blog.51cto.com/3554853/1910463
Installation and configuration of Codeblocks TMD-GCC under Windows