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

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.

主站蜘蛛池模板: 汶上县| 云林县| 龙海市| 连云港市| 清镇市| 石家庄市| 武乡县| 乐陵市| 荣成市| 建德市| 鸡东县| 亚东县| 鹤岗市| 志丹县| 新田县| 仙桃市| 焉耆| 望奎县| 右玉县| 广西| 明星| 蓝田县| 凯里市| 中阳县| 汾阳市| 大庆市| 霸州市| 高清| 杨浦区| 定西市| 青冈县| 天门市| 越西县| 耒阳市| 抚顺市| 西吉县| 澳门| 芒康县| 台前县| 武夷山市| 六安市|