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