sco下用gcc编译hello.cpp出来的可执行文件居然有2800280字节,而且运行出错???
kxyes 2003-08-15 05:54:11 //hello.cpp
#include <iostream>
using namespace std;
int main()
{
cout<<"hello!"<<endl;
return 0;
}
#g++ -o hello hello.cpp
#./hello
Memory fault - core dumped
是什么原因呀?
为什么编译出的文件这么大而且运行出错??
是不是gcc没有配置好还是没有装好??