Well, i finally got redhat working on this old box i had, and read the man pages on gcc and g++, i tried to get a very very simple c++ scipt to work but im having some troubles. The script was basic
#include <iostream.h>
int main()
{
cout<<"Hello" im leaving out endl; cuz it wont work on forums
return 0;
}
ok, so i type it up and save it as hello.cc, then in the console i type in g++ -c hello.cc and it claims it works, but i cant find out where the output of the file is. Any suggestions?
#include <iostream.h>
int main()
{
cout<<"Hello" im leaving out endl; cuz it wont work on forums
return 0;
}
ok, so i type it up and save it as hello.cc, then in the console i type in g++ -c hello.cc and it claims it works, but i cant find out where the output of the file is. Any suggestions?


Comment