我刚刚安装了 Dev C++,我正在学习 C 编程。我使用的代码是
#include <stdio.h>
int main()
{
printf("Hello world");
getch();
}
我将其保存为 .c 文件。当我编译它工作正常,但当我编译并运行它说源文件未编译。所以我用谷歌搜索了一些东西,并在 youtube 上看到了这个视频,它向你展示了如何修复它。我还看到谷歌上的其他论坛建议同样的事情......但是,在做了什么之后,现在我什至无法编译我的代码。我收到这个错误
Compiler: Default compiler
Executing C:\Dev-Cpp\bin\gcc.exe...
C:\Dev-Cpp\bin\gcc.exe "C:\Users\ubaid\Documents\C\Untitled1.c" -o "C:\Users\ubaid\Documents\C\Untitled1.exe" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
gcc.exe: Internal error: Aborted (program collect2)
Please submit a full bug report.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
Execution terminated
我也使用了这个链接上的要求,但仍然没有运气.. http://learntogeek.com/miscellaneous/solved-source-file-not-compiled-error-in-dev-cpp/
我正在使用 Windows 8