下面是一些不关闭错误提示的解决方法:
第一种:
提示错误: identifier “cout” is undefinedC/C++(20)
如图所示。
解决方案之一:改变C++ 编译路径和Json配置文件一致即可。
Ctrl + Shift + p 快捷键----> 输入 configurations ,选择 C/C++: Edit Configurations(ui),改变你的 Compiler Path,使得其和你的.json文件配置一致即可
第二种:
提示错误: namespace “std” has no member "cout"C/C++(135)
方法和上面一样
第三种:
提示错误:提示 cou