一运行,黑屏一闪而过,说本机已退出,返回值是0(0x0)?怎么解
求学为上 2015-09-14 11:35:06 #include<stdio.h>
#include<iostream>
int main()
{
printf("helloworld\n");
system("pause");
return 0;
}
一运行黑屏一闪而过:
“Helloworld.exe”: 已加载“D:\Program Files\opencvvs2010\Helloworld.exe”,已加载符号。
“Helloworld.exe”: 已加载“C:\Windows\System32\ntdll.dll”,已加载符号(去除源信息)。
“Helloworld.exe”: 已加载“C:\Windows\System32\kernel32.dll”,已加载符号(去除源信息)。
“Helloworld.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,已加载符号(去除源信息)。
“Helloworld.exe”: 已加载“C:\Windows\System32\msvcr100d.dll”,已加载符号。
BasepCheckCacheExcludeList: Cache not allowed for \??\C:\Windows\system32\cmd.exe
BasepShimCacheLookup: Entry for \??\C:\Windows\system32\cmd.exe was disallowed yet found in cache, cleaning up
Application "\??\C:\Windows\system32\cmd.exe" not found in cache
“Helloworld.exe”: 已加载“C:\Windows\System32\apphelp.dll”,已加载符号(去除源信息)。
“Helloworld.exe”: 已加载“ImageAtBase0xd40000”,“包括”/“排除”设置禁用了加载功能。
“Helloworld.exe”: 已卸载“ImageAtBase0xd40000”
程序“[7124] Helloworld.exe: 本机”已退出,返回值为 0 (0x0)。
直接按Ctrl+F5也是这样,想问一下是什么原因啊?