#include <iostream>
int main()
{
std::cout << "Hello World" << endl;
return 0;
}
When I try to run this code, this message keeps popping up even though I copied and pasted straight from online. There are no build errors either. Here's the error message
该错误意味着.exe文件很可能仍在运行。可能是您通过“ X”按钮将其关闭了,但是VS调试器仍在运行,因此请尝试单击红色方块将其停止,或者进入任务管理器并手动终止该进程。
您的代码没有错。可能是您的杀毒软件在Visual Studio启动之前删除了该exe。尝试禁用防病毒软件,然后再次从VS运行。
如果不是防病毒软件,则其他原因将其删除。
检查图像路径中显示的exe是否确实存在。