I have two linux machines... i have written c++ code which works in one machine perfectly without any errors using g++ compiler... If the same code i tried to run in other machine it gives me lots of error... Can anyone pls tell me do i need to install g++ compiler. Also please tell me how to check whether the compiler is installed or not ,if it is installed how to check the version..