打开项目属性 Visual GDB Project Properties
1. IntelliSense Directories 选项卡,如果有下载标志,都点一下,把Linux的include项同步到本地
2. IntelliSense Settings 选项卡,切换一下 IntelliSense engine,选择 use Navtive Visual Studio IntelliSense engine
重新打开一下cpp文件试一下,应该可以了
打开项目属性 Visual GDB Project Properties
1. IntelliSense Directories 选项卡,如果有下载标志,都点一下,把Linux的include项同步到本地
2. IntelliSense Settings 选项卡,切换一下 IntelliSense engine,选择 use Navtive Visual Studio IntelliSense engine
重新打开一下cpp文件试一下,应该可以了