Hello. I have RedHat 5.0. When I try to compile any C/C++ or any program,
it compiles just fine,
but the executable is non executable. I use the chmod utility, but still
nothing will execute. In other words, say I have this:
#include <iostream.h>
int main(void)
{
cout << "Hello world\n";
return 0;
Then I do:Quote:}
g++ hello.cpp
The result is the a.out file.
At the command prompt, I type in: a.out
Well, the a.out file won't execute. I used the chmod and the permissions
get set, but nothing happens.
What gives?
Thank you.