vscode配置c 环境多文件
时间: 2023-08-28 09:18:19 浏览: 89
回答: 配置VSCode的C语言环境支持多文件编译的步骤如下:
1. 首先,选择g++.exe编译活动文件,这将会自动在工作区下生成tasks.json文件,放在.vscode文件夹下。在args数组中需要加入编码设置"-fexec-charset=GBK",以防止中文输出乱码。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [VSCode配置C/C++教程](https://blog.csdn.net/Zhangguohao666/article/details/104963520)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Vscode 配置C 环境 多文件](https://blog.csdn.net/weixin_44815745/article/details/127348873)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文