官术网_书友最值得收藏!

Configuring C/C++ for VS Code

Microsoft has an official page for the extension, which you can view at https://code.visualstudio.com/docs/languages/cpp. This page describes, among other things, how to configure through the use of JSON files. Let's start by creating a new configuration file to manage our C/C++ environment. You can generate a new configuration file by pressing the F1 key, typing C/C, and selecting C/Cpp: Edit Configurations…:

Command Palette with C/C++ extension options

This will generate a new c_cpp_properties.json in a .vscode folder within your current project. The file will contain configuration options for your C/C++ compiler based on your platform, the C and C++ standards to use, and the include paths for header files. You can close this file once it's generated. We will revisit it when we configure the EMSDK.

主站蜘蛛池模板: 思茅市| 武宁县| 平凉市| 罗平县| 竹溪县| 龙泉市| 日喀则市| 琼中| 阳高县| 长岛县| 金沙县| 庆阳市| 碌曲县| 达州市| 周宁县| 阳春市| 清徐县| 西畴县| 平阳县| 玛纳斯县| 奎屯市| 富阳市| 安庆市| 廊坊市| 齐齐哈尔市| 沿河| 会理县| 永宁县| 渝中区| 武威市| 巴彦淖尔市| 天峨县| 鄢陵县| 绍兴市| 革吉县| 大田县| 揭东县| 高邮市| 抚远县| 西宁市| 成安县|