I have access to a unix machine and i have created a simple c++ program, 1st.cpp.
But when i tried to compile at command prompt using the below command
g++ 1st.cpp it says
ksh: g++: not found
I also tried gcc 1st.cpp. But same error
Does this means that i do not have c++ compiler on that machine or am I using a wrong command?
Also how do I know what machine/os(HP or Sun or RISC) I am in? Is there a unix command that gives me environment/system(Unix or Linux or AIX) information?
Thanks for your help.