<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codeblocks Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/codeblocks/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 09 Dec 2019 23:41:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install CodeBlocks in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-codeblocks-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-codeblocks-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Mon, 09 Dec 2019 23:41:50 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[codeblocks]]></category>
		<category><![CDATA[Development tools]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[IDE Tools]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16457</guid>

					<description><![CDATA[<p>Hello, how are you? Today we&#8217;re going to talk a bit about Code::Blocks. This is an open-source integrated development environment that supports multiple compilers, including GCC, Clang and Visual C++. Also, it is based on the WxWidgets graphical interface platform. Consequently, it can be used freely in different operating systems. In addition, it is licensed [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-codeblocks-in-windows-10/">How to install CodeBlocks in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, how are you? Today we&#8217;re going to talk a bit about Code::Blocks. This is an open-source integrated development environment that supports multiple compilers, including GCC, Clang and Visual C++.  Also,  it is based on the WxWidgets graphical interface platform. Consequently, it can be used freely in different operating systems. In addition, it is licensed under the GNU General Public License. CodeBlocks is a very powerful tool for developing programs in C++. In this post, we will see how to install CodeBlocks on Windows 10.</p>



<h2>Downloading CodeBlocks.</h2>



<p>To download the most recent version of the program, just click on the following <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="http://www.codeblocks.org/downloads/binaries" target="_blank">link</a>. On the download page, there are several versions to download. In theory, all should work properly. However, I have experienced problems with some of them. Therefore, I recommend the installer with the setup that also includes the MINGW compiler:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code.jpg" alt="Download the installer with Setup and MINGW" class="wp-image-16458" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/code-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/code-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/code-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/code-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the installer with Setup and MINGW</figcaption></figure>



<p>Once downloaded the file, just double click on it to start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="388" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code2.jpg" alt="Installation wizard starting." class="wp-image-16461" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code2.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/code2-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Installation wizard starting.</figcaption></figure>



<p>Next, accept the license:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="388" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code3.jpg" alt="" class="wp-image-16464" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code3.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/code3-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Accept the license.</figcaption></figure>



<p>On the next screen are all the options available for installation. It is possible to select them according to the needs of the user. However, it is preferable to leave the default options and do a complete installation. This increases the stability of the program:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="388" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code4.jpg" alt="Choose the components to install." class="wp-image-16467" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code4.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/code4-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Choose the components to install.</figcaption></figure>



<p>Then the installation path of the program appears. It is possible to leave the default path or set a custom address:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="388" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code5.jpg" alt="Setting the installation folder" class="wp-image-16469" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code5.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/code5-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Setting the installation folder</figcaption></figure>



<p>After setting the parameters, the wizard will start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="388" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code6.jpg" alt="CodeBlocks running the installation on Windows 10." class="wp-image-16505" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code6.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/code6-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption> <em>CodeBlocks running the installation on Windows 10.</em> </figcaption></figure>



<p>After the process is finished, press Next to close the window and launch the program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="388" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code7-2.jpg" alt="Installation completed" class="wp-image-16503" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code7-2.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/code7-2-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption> <em>Installation completed</em> </figcaption></figure>



<h2>Configuring the compiler on CodeBlocks</h2>



<p>After launching the program, it is necessary to make some configurations. First, CodeBlocks automatically detects the compilers present in the system. If there are none, then the program compiler is set.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="572" height="397" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code8.jpg" alt="Autodetecting the compiler." class="wp-image-16476" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code8.jpg 572w, https://www.osradar.com/wp-content/uploads/2019/12/code8-300x208.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/code8-218x150.jpg 218w" sizes="(max-width: 572px) 100vw, 572px" /><figcaption>Autodetecting the compiler.</figcaption></figure>



<h2>Testing CodeBlocks.</h2>



<p>Once the program is configured, it is time to create the first project. With this intention, please click on <em>Create a New Project</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code16.jpg" alt="Creating a new project." class="wp-image-16479" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code16.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/code16-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code16-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/code16-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/code16-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/code16-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Creating a new project.</figcaption></figure>



<p>Immediately an assistant will be opened to guide us during the creation of the project. Please click Next to start the process. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="516" height="432" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code12.jpg" alt="New project creation wizard." class="wp-image-16483" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code12.jpg 516w, https://www.osradar.com/wp-content/uploads/2019/12/code12-300x251.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code12-502x420.jpg 502w" sizes="(max-width: 516px) 100vw, 516px" /><figcaption>New project creation wizard.</figcaption></figure>



<p>In the next window, select the type of project to start. In that case, please select <strong>Console Application</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="596" height="448" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code11-1.jpg" alt="Select console application" class="wp-image-16485" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code11-1.jpg 596w, https://www.osradar.com/wp-content/uploads/2019/12/code11-1-300x226.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code11-1-80x60.jpg 80w, https://www.osradar.com/wp-content/uploads/2019/12/code11-1-265x198.jpg 265w, https://www.osradar.com/wp-content/uploads/2019/12/code11-1-559x420.jpg 559w" sizes="(max-width: 596px) 100vw, 596px" /><figcaption>Select console application</figcaption></figure>



<p>Next, select the type of language to use. For the purposes of this example, select C++.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="516" height="432" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code13.jpg" alt="Select C++" class="wp-image-16488" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code13.jpg 516w, https://www.osradar.com/wp-content/uploads/2019/12/code13-300x251.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code13-502x420.jpg 502w" sizes="(max-width: 516px) 100vw, 516px" /><figcaption>Select C++</figcaption></figure>



<p>Next is the project configuration window. Here you assign the name to the project. In addition, select the folder where the project will be saved.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="516" height="432" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code14.jpg" alt="Assigns the name and destination folder of the project." class="wp-image-16491" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code14.jpg 516w, https://www.osradar.com/wp-content/uploads/2019/12/code14-300x251.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code14-502x420.jpg 502w" sizes="(max-width: 516px) 100vw, 516px" /><figcaption>Assigns the name and destination folder of the project.</figcaption></figure>



<p>Below are options for the compiler and other elements of the project.  Additionally, leave all options by default and press Finish to continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="516" height="432" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code15-1.jpg" alt="Select the compiler." class="wp-image-16494" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code15-1.jpg 516w, https://www.osradar.com/wp-content/uploads/2019/12/code15-1-300x251.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code15-1-502x420.jpg 502w" sizes="(max-width: 516px) 100vw, 516px" /><figcaption>Select the compiler.</figcaption></figure>



<p>Back to the initial screen, please locate the Workspace menu in the left column. Forthwith, scroll until you get the <strong>main.cpp</strong> file. Then double click on it and you will see the file with the classic <em>Hello World</em>. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code17.jpg" alt="Test file in CodeBlock" class="wp-image-16496" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code17.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/code17-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code17-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/code17-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/code17-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/code17-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Test file in CodeBlock</figcaption></figure>



<p>To compile and run the program, click on the icon shown in the image below.  Accordingly,  just wait a few moments until the file is displayed in a pop-up window.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/code18.jpg" alt="CodeBlocks running the file test.exe" class="wp-image-16498" srcset="https://www.osradar.com/wp-content/uploads/2019/12/code18.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/code18-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/code18-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/code18-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/code18-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/code18-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>CodeBlocks running the file test.exe</figcaption></figure>



<h2>Conclusion</h2>



<p>After finishing the post, we have seen how to install CodeBlocks on Windows 10. It is designed to be very extensible and completely configurable to the needs of developers. In addition, this IDE has been built around a complementary framework. All right, that&#8217;s it for now. I hope you find this post useful. Before saying goodbye I invite you to review our post about enabling <a rel="noreferrer noopener" href="https://www.osradar.com/how-to-enable-ping-in-windows-server-2019/" target="_blank">PING</a> in Windows Server 2019. </p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-codeblocks-in-windows-10/">How to install CodeBlocks in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-codeblocks-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
