使用VSCode编辑C++代码cout报错问题解决 Posted on 2022-03-09 In blogs 这是VSCode的C/C++插件的一个BUG! 推荐的解决方案是将VSCode的C/C++插件降级至1.3.1版本。方法如下: 安装好C/C++插件的最新Release版本; 点击Uninstall旁的下箭头按钮,选择“安装其他Release版本”; 在弹出的下拉框中选择1.3.1。 可以在插件菜单中检查,C/C++插件已经降级至1.3.1版本。 参考 https://stackoverflow.com/questions/44094817/why-is-visual-studio-code-telling-me-that-cout-is-not-a-member-of-std-namespace/67972238#67972238