首页 > 解决方案 > 运行 c 程序时,Visual Studio 代码显示错误

问题描述

(请在此处插入您的问题)

Program 'hello.exe' failed to run: Access is deniedAt line:1 char:69
+ ... rogramming\" ; if ($?) { gcc hello.c -o hello } ; if ($?) { .\hello }
+                                                                 ~~~~~~~.
At line:1 char:69
+ ... rogramming\" ; if ($?) { gcc hello.c -o hello } ; if ($?) { .\hello }
+                                                                 ~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

标签: cxcodevisual-studio

解决方案


推荐阅读