小编Rya*_*arr的帖子

为什么我在vscode中无法查看和编辑c_cpp_properties.json?

https://code.visualstudio.com/docs/cpp/config-msvc

我正在尝试使用 VS Code 使用这些指令编译和运行 c++。在完成这一步的同时

开始键入“C/C++”,然后从建议列表中选择“编辑配置”。VS Code 在 .vscode 子文件夹中创建一个名为 c_cpp_properties.json 的文件,并使用一些默认设置填充它。

我无法打开 c_cpp_properties.json 文件,出现错误:

Failed to create "c:\Windows\System32\projects\helloworld\.vscode": EPERM: operation not permitted, mkdir 'c:\Windows\System32\projects\helloworld\.vscode'
Run Code Online (Sandbox Code Playgroud)

c++ windows-10 visual-studio-code

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

c++ ×1

visual-studio-code ×1

windows-10 ×1