Installing an IDE
An Integrated Development Environment (IDE) contains all of the things you need to develop, compile, link, and debug your programs. I myself prefer Code::Blocks which can be installed on both Windows and Linux.
Windows users: make sure to get the version with MinGW bundled.
With Code::Blocks, C++11/C++14 functionality may be disabled by default. You’ll definitely want to check and turn it on. First, go to Settings->Compiler:
Then check the box marked “Have g++ follow the C++11 ISO C++ language standard [-std=c++11].
Note: If “Have g++ follow the C++14 ISO C++ language standard [-std=c++14]” exists for your version of Code::Blocks, use that instead.
After installing Code::Blocks, some users have been getting an error message “Can’t find compiler executable in your configured search paths for GNU GCC Compiler”. If you run into this, try the following:
- In you’re on Windows, make sure you’ve downloaded the version of Code::Blocks WITH MinGW. It’s the one with “mingw” in the name.
- Try doing a full uninstall, then reinstall.
- Try going to settings, compiler, and choose “reset to defaults”.
- Try a different compiler.
Alternately, some people prefer to use Bloodshed's Dev-C++ which also runs on both Windows and Linux.
Published on 22nd August 2018.
3.Understanding the Problem.
Go Back
Published on 22nd August 2018.
3.Understanding the Problem.
Go Back
No comments