Resources: Programming in C++

Installing g++

Windows

Use the “Windows Subsystem for Linux” selecting the “Ubuntu” option for installation. After installation, from within the bash prompt, follow the instructions below for Ubuntu-like Linux.

Install XMing in Windows for displaying graphical applications.

Inside of a bash prompt edit your .profile and add a line at the bottom like this:

export DISPLAY=:0.0

Mac OS X

Install the command line developer tools. See the first part of these instructions.

Ubuntu-like Linux

Use apt-get to install the correct packages

sudo apt-get update
sudo apt-get install g++ freeglut3-dev libglu1-mesa-dev libgl1-mesa-dev valgrind libgtest-dev

No-Install Option

Use the computers in the Smith building. You can do this physically in the lab, or you can remotely connect to the systems to create and run your programs.

Last Updated 09/28/2018