#include <iostream> using namespace std; 要同时存在 要不然std命名空间无法生效 转载于:https://www.cnblogs.com/daochong/p/5862975.html