cplusplus:installing_codeblocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cplusplus:installing_codeblocks [2015/12/31 20:28] – [Installing on Windows] mithat | cplusplus:installing_codeblocks [2016/01/10 01:42] (current) – mithat | ||
---|---|---|---|
Line 23: | Line 23: | ||
=== MacOS === | === MacOS === | ||
- | There is a version of [[http:// | + | There is a version of [[http:// |
===== Installing on Windows ===== | ===== Installing on Windows ===== | ||
Line 29: | Line 29: | ||
Download **'' | Download **'' | ||
- | <WRAP center round important | + | <WRAP center round tip 99%> |
Be sure you download '' | Be sure you download '' | ||
</ | </ | ||
- | |||
The download links are on the right. The last time I tried, the BerliOS link wasn't working, but the Sourceforge.net link worked fine. | The download links are on the right. The last time I tried, the BerliOS link wasn't working, but the Sourceforge.net link worked fine. | ||
- | After downloading, | + | After downloading, |
+ | |||
+ | <WRAP center round info 99%> | ||
+ | In the unlikely event that you have a previous Code:: | ||
+ | </ | ||
===== After installing ===== | ===== After installing ===== | ||
- | **Set the compiler to use C++11 standards.** This is very important! | + | ==== Set the default compiler ==== |
+ | You may have more than one compiler installed on your computer. To keep you from having to manually set the proper compiler each time you start a new project, verify that the desired compiler is set as the default by doing the following: | ||
+ | |||
+ | - Go to //Settings > Compiler...// | ||
+ | - Make sure the //Compiler settings// tab is active. | ||
+ | - Select "GNU GCC Compiler" | ||
+ | - If the //Set as default// button is active (i.e., not greyed out), click on it to make GNU GCC Compiler the default. | ||
+ | - On Windows, click on the " | ||
+ | |||
+ | ==== Set the compiler to use C++11 standards | ||
+ | |||
+ | <WRAP center round important | ||
+ | Do not skip this step! If you do, you will encounter various hard-to-diagnose problems later in the course. | ||
+ | </ | ||
There are several official (as well as unofficial) versions of C++ in common use. We will be learning C++11, which is a relatively new standard. Code:: | There are several official (as well as unofficial) versions of C++ in common use. We will be learning C++11, which is a relatively new standard. Code:: | ||
Line 48: | Line 65: | ||
- Go to //Settings > Compiler...// | - Go to //Settings > Compiler...// | ||
- Make sure the //Compiler settings// tab is active. | - Make sure the //Compiler settings// tab is active. | ||
- | - Find **Have g++ follow the C++11 ISO C++ language standard [-std=c++11]**, | + | - Find **Have g++ follow the C++11 ISO C++ language standard [-std=c++11]**, |
===== Testing your installation ===== | ===== Testing your installation ===== |
cplusplus/installing_codeblocks.1451593726.txt.gz · Last modified: 2015/12/31 20:28 by mithat