问题描述
我最近从C++
开始,并且正在使用Dev cpp作为我的IDE。但是,每当我为Dev cpp编译并运行该程序时,该程序都会成功编译,但是在运行.exe
文件时出现以下错误:
--------------------------------
Failed to execute "C:\Users\Karan Gandhi\Desktop\Untitled1.exe":
Error 193: %1 is not a valid Win32 application.
Press any key to continue . . .
这是我的程序:
#include <iostream>
using namespace std;
int main() {
cout << "Hello world";
return 0;
}
请注意:通过在终端中打开文件,
可以成功从终端手动运行程序"C:\Users\Karan Gandhi\Desktop\Untitled1.exe"
有什么办法可以解决这个问题?谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)