“cout”: 未声明的标识符

在头文件下加上:

#include <iostream>

using namespace std;

  

原文地址:https://www.cnblogs.com/zzzsj/p/14499412.html