1.在左侧扩展中搜索Code Runner 2.点击齿轮状按钮,进入Code Runner的扩展设置 3.找到Code-runner: Executor Map,点击“在settings.json中编辑” 4.在code-runner.executorMap中app添加-std=c++17