I am using Ubuntu 13.10(Saucy). I installed g++-4.7 in my machine. But when I tried to run g++ or tried to check the version it is showing that the package is not installed.
$ g++ --version
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <selected package>
sudo apt-get install g++ or sudo apt-get install g++-4.8 is not successful in my machine because of some broken packages which I couldn't resolve.
Please help me to use g++ with 4.7 version. Thanks in advance.