【发布时间】:2014-10-14 16:26:07
【问题描述】:
我来自 code::blocks 的默认“Hello world”代码以状态 1 终止。 我打不开!有谁知道为什么?
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
这是我编译时显示的内容:
mingw32-g++.exe -o bin\Debug\Bucky.exe obj\Debug\main.o
mingw32-g++.exe: Internal error: Aborted (program collect2)
Please submit a full bug report.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
谢谢!
- 杰斯珀
【问题讨论】:
-
编译时显示什么?
-
@KhairulBasar 我添加了!
-
它是否在输出控制台中显示 Hello world ???
-
您是否将文件保存为 .cpp 格式?
-
您是否至少构建过一次?也许检查您的 .exe 是否在窗口或进程上运行。
标签: c++ codeblocks