Unable to compile using g++
I'm relatively new to Linux and programming. I am using Knoppix version 6.2.1 but cannot seem to compile a simple program to add two numbers together. The source code was written in a leafpad document and named "SimpleAdder.cc". I saved this to a directory called ~/c++ . In the terminal I changed to this directory then typed "g++ SimpleAdder.cc -o SimpleAdder". The terminal returned
"bash: g++: command not found"
Can anyone help me figure where I went wrong? (I also tried "make SimpleAdder" while in the same directory but only got "make: g++: command not found" and "make: *** [SimpleAdder] Error 127".
Thanks in advance