代码:: blocks终止状态为1993077897或-1073741510的C语言中的默认hello世界 [英] code::blocks default hello world in C terminated with status 1993077897 or -1073741510
问题描述
在使用 MinGW
下载并安装 :: Blocks
后,我刚刚在其上启动了一个新的控制台项目,并创建了 main.c
包含以下内容的文件:
After downloading and installing Code::Blocks
with MinGW
, I just started a new console project on it and it created a main.c
file with this content:
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
它确实可以编译.但是,当我运行它时,没有"Hello world!"出现在控制台中,并且显示类似消息
And it does compile. However, when I run it, no "Hello world!" is shown in the console and there is a message like
Process terminated with status 1993077897 (0 minutes, 3 seconds)
或
Process terminated with status -1073741510 (0 minutes, 7 seconds)
在构建日志中
.
我可以真正地说我只是不知道出了什么问题.
I can truly say that I just don't know what went wrong.
推荐答案
问题已解决:Kapersky的工作做得很好,甚至在无法显示简单的"Hello world"之前就阻止了该过程.之后,它警告了我很长时间,反复要求我删除可执行文件.
Problem solved: Kapersky was doing its job too well and blocked the process before it could even display a simple "Hello world". It warned me a long time after that, asking me repeatedly to delete the executable.
这篇关于代码:: blocks终止状态为1993077897或-1073741510的C语言中的默认hello世界的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!