There’s no better way to understand programming than to write code! There are lots of different ways you can practice writing C++… there is no excuse for not trying.
If you just want to write some quick C++ to see what it does (an excellent habit to get into!), you might find cpp.sh helpful. It doesn’t require any software to be installed on your computer other than a Web browser: you can even use it from a phone, tablet, etc.
First, install XCode from the App Store . This is, in fact, a great environment for writing C/C++ code, so you can stop here if you like! If, however, you want to have the same environment set up as in the lab, you can install Eclipse:
Note: to run the Teaching Machine, you may also need to install an older (“legacy”) Java virtual machine.
On POSIX operating systems (FreeBSD, Linux, etc.), installation should be much simpler. Just install the appropriate package: