源文件未编译开发C ++ [英] Source file not compiled Dev C++

查看:413
本文介绍了源文件未编译开发C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚安装了开发的C ++和我学习C语言编程。
在code,我用了

I just installed Dev C++ and I am learning C programming. the code i used was

#include <stdio.h>    
int main()
{
  printf("Hello world");
  getch();
}

我救它作为一个.c文件。当我编译它工作正常,但是当我编译并运行它说的源文件未编译。所以我一派buncha东西并在YouTube上的这段视频这表明你如何解决它来了。我也看到其他论坛上的谷歌这表明同样的事情。但是,做什么问后,现在我甚至不能编译我的code。我得到这个错误

I saved it as a .c file. When I compile it works fine, but when I compile and run it says source file not compiled. So I googled buncha things and came across this video on youtube which shows you how to fix it. I also saw other forums on google which suggest the same thing... However, after doing whats asked, Now I can't even compile my code. I get this error

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

我也用什么问这个环节上,仍然没有运气..
<一href=\"http://learntogeek.com/miscellaneous/solved-source-file-not-compiled-error-in-dev-cpp/\">http://learntogeek.com/miscellaneous/solved-source-file-not-compiled-error-in-dev-cpp/

我使用Windows 8

I am using windows 8

推荐答案

安装开发的C的新版本++。它工作正常,在Windows 8还支持64位版本。

Install new version of Dev c++. It works fine in Windows 8. It also supports 64 bit version.

下载链接是<一个href=\"http://sourceforge.net/projects/orwelldevcpp/\">http://sourceforge.net/projects/orwelldevcpp/

这篇关于源文件未编译开发C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆