Results 1 to 2 of 2
Hello All,
I am using linux machine and I had installed a gcc ( version 4.1.2 20071124 ) (RED HAT 4.1.2-42 )
Now i want to run a C++ programs ...
- 10-27-2009 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 45
g++ command not found?
Hello All,
I am using linux machine and I had installed a gcc ( version 4.1.2 20071124 ) (RED HAT 4.1.2-42 )
Now i want to run a C++ programs on this machine, I know that for comparing .cpp programs we need g++ command , correct me if I am wrong ?
But there is no command found g++.
my question is,
1. which compiler need to compile .cpp ( c++ ) program ?
2. what is the command to compile c++ programs?
3. If it will not come with gcc , what is the procedure to install?
thanks,
- 10-27-2009 #2
I think you need to install libstdc++ and gcc-c++ packages.


Reply With Quote