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

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.

主站蜘蛛池模板: 津市市| 襄汾县| 鄂托克旗| 青铜峡市| 和顺县| 平安县| 西盟| 军事| 民丰县| 鹤山市| 马鞍山市| 遂溪县| 正镶白旗| 玛多县| 绥江县| 芜湖县| 黎川县| 安仁县| 东兴市| 惠东县| 哈密市| 大埔县| 凉城县| 甘谷县| 越西县| 浦东新区| 青冈县| 麟游县| 额尔古纳市| 深泽县| 丹寨县| 南充市| 洛南县| 工布江达县| 白玉县| 南宫市| 綦江县| 宣武区| 灌云县| 开封市| 昌都县|