Your tasks:
/usr/local/bin/g++then you're all set. (Actually, I'm in the process of checking on this /opt/sfw/bin/g++ might be more recent -- will let you know soon. Either one should work just fine for this assignment.) If not, then you should update the path listing in your .cshrc file. We'll demo how to edit this in class. Don't use pico to edit it! If you do, it will break all the long lines and you will have trouble doing anything at all because you'll lose all of your paths.
After you change this file, you'll need to activate the changes. You can do this by logging out and then logging in again or by "sourcing" the file by typing "source .cshrc". This will work only for the current session. That is, you would need to do this in every open terminal window that you wish to use the new settings from.