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

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.

主站蜘蛛池模板: 新兴县| 巴青县| 高安市| 中阳县| 凯里市| 岳普湖县| 阆中市| 望奎县| 汉阴县| 临湘市| 红河县| 水富县| 澄迈县| 清远市| 正镶白旗| 米林县| 富顺县| 广灵县| 博野县| 玉门市| 上犹县| 天津市| 凭祥市| 和顺县| 朝阳区| 广河县| 赤城县| 平邑县| 合水县| 米林县| 乐山市| 鹤庆县| 商都县| 兴化市| 岳西县| 微山县| 桂东县| 北碚区| 金堂县| 宿迁市| 赞皇县|