WHFF521 / WHFF521.github.io

个人博客仓库
http://blog.whff521.xyz/
0 stars 0 forks source link

mac电脑vscode的c++运行配置 | AiRomance #2

Open WHFF521 opened 4 months ago

WHFF521 commented 4 months ago

https://blog.whff521.xyz/2024/04/13/mac%E7%94%B5%E8%84%91vscode%E7%9A%84c-%E8%BF%90%E8%A1%8C%E9%85%8D%E7%BD%AE/

最近换了电脑,vscode的环境是重新配的,遇到了些许问题。 1. Code Runner 对于C++的一些函数不识别这是因为code runner默认执行命令里没有添加c++17的选项。解决方案: 打开vscode设置,搜索code runner,找到Code-runner: Executor Map,点击edit in settings.json。 Find the cpp and ad