系统版本: windows11 专业版 24H2 更新时间: 2024/8/30 所需软件: 无需安装软件 教程来源: https://worktile.com/kb/ask/576484.html

教程

  1. 下载并安装 C/C++ 插件
  2. 点击左下角 齿轮 ,并点击 设置
  3. 设置界面 搜索栏 搜索 cpp-default-include-path
  4. 点击添加项,将你的 vcpkg 目录下的 installed 目录输入进去 一般为 D:\\vcpkg\\installed\\