An Integrated Development Environment (IDE) is a software application that provides comprehensive facilities for software development. The following is a non-exhaustive list of IDEs for C++:
In this course you are recommended not to use IDEs but rather light text editors and command line for buidling (compilation and linking) and debugging or executing. This is a list of light text editors:
We use GCC in the versions that support C++14 (use flag -std=c++14
) hence >= 5. The version 7.3 is the default in Ubuntu 18.04 and hence in the IMADA Computer Lab machines. This version has default C++14 and hence does not require the flag -std=c++14
.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-6
From Source (See also https://gcc.gnu.org/wiki/InstallingGCC)
wget ftp://gd.tuwien.ac.at/gnu/gcc/releases/gcc-6.2.0/gcc-6.2.0.tar.gz
tar xzf gcc-6.2.0.tar.gz
cd gcc-6.2.0 ./contrib/download_prerequisites
mkdir build cd build ../configure --prefix= --program-suffix=-6 --disable-multilib
make -j
make install
</div></li>
</ol>
</div>