所以我试图像往常一样测试运行我的dev c ++并且它说无法执行location/name.exe错误193:%1不是有效的win 32应用程序.我还没有将编译器用于任何复杂的事情.
#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;
}
Run Code Online (Sandbox Code Playgroud)
我正在使用Dev c ++ GCC(MinGW)编译器.
它编译正确,但当我尝试运行时,它会收到此错误消息
无法执行"C:\ Users\SIM JONES NIGL TD\Desktop\c language\areaofcircle2.exe":错误193:%1不是有效的Win32应用程序.
按任意键继续