c++ - vscode 中没有 c_cpp_properties.json 文件

标签 c++ visual-studio-code vscode-settings

不久前开始在vscode中学习cpp。我没有回到它,但我不知道如何编译/运行程序,我正在观看的每个教程都说我必须将路径从我的 MinGW 文件夹复制并粘贴到 c_cpp_properties.json 中的路径,但在我的 .vscode 文件夹我没有那个文件。相反,我还有其他三个文件。

enter image description here

如何添加 c_cpp_properties.json 文件?

最佳答案

You can view the C/C++ configuration UI by running the command C/C++: Edit Configurations (UI) from the Command Palette (Ctrl+Shift+P).



来自 here .

这将添加 c_cpp_properties 文件。

关于c++ - vscode 中没有 c_cpp_properties.json 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62036568/

相关文章:

visual-studio-code - 用于更新工作区设置的 VS Code 扩展

c++ - 统计相邻格子数量相同的格子数量

java - Visual Studio Code 在哪里缓存自动完成的 Java 依赖项信息?

regex - 在 Visual Studio Code 中搜索时匹配括号内的字符串

java - VS 代码 Java 调试器

vscode-settings - 更漂亮地禁用某些语言不起作用

visual-studio-code - 如何在 Visual Studio 代码 C++ 中更改函数参数的颜色?

c++ - 原始图像和 C++ 中的 DCRaw

c++ - 在 C++ 继承中,当指向基类的指针对象指向派生类时,不调用派生类析构函数

python - 将 Python 项目转换为 C++