开发人员无法执行.exe错误193:%1不是有效的Win32应用程序 [英] dev c. failed to execute .exe error 193: %1 not a valid win32 application

查看:109
本文介绍了开发人员无法执行.exe错误193:%1不是有效的Win32应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图像往常一样尝试运行我的dev c ++,它说无法执行location/name.exe错误193:%1不是有效的win 32应用程序.我还没有将编译器用于任何复杂的事情.

so I was trying to test run my dev c++ as usual and it said failed to execute location/name.exe error 193: %1 is not a valid win 32 application. I have not used the compiler for anything complex yet.

#include<stdio.h>
#include<math.h>
#define PI 3.14
int main()
{
    int r      = 3;

    float area = PI*pow(r,2);

    printf("the area of the circle is %f",area);

    return 0;
}

我正在使用Dev c ++ GCC(MinGW)编译器.

I'm using Dev c++ GCC (MinGW) compiler.

它可以正确编译,但是当我尝试运行时,它会显示此错误消息

it compiles properly but when I try to run, it get this error message

无法执行"C:\ Users \ SIM JONES NIGL TD \ Desktop \ c language \ areaofcircle2.exe":错误193:%1不是有效的Win32应用程序.

Failed to execute "C:\Users\SIM JONES NIGL TD\Desktop\c language\areaofcircle2.exe": Error 193: %1 is not a valid Win32 application.

按任意键继续

推荐答案

我刚刚遇到了这个问题,并且我注意到,如果您只是将程序保存在不包含空格的文件夹中.我的默认文件夹已在我的文档"中设置,因此我在F:驱动器命名程序中创建了一个文件夹,并将程序保存在其中,然后对其进行编译.那时我没有遇到这个错误:)

I just experienced this problem and I noticed that if you just save your programs in a folder containing no spaces. My default folder was set in My documents so I made a folder in my F: Drive named programs and saved the programs in it and then compiled them. I didn't experience this error then :)

这篇关于开发人员无法执行.exe错误193:%1不是有效的Win32应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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