string类型必须得用cout输出 Char数组用print 因为cout和string都是c++里的 转载于:https://www.cnblogs.com/zhoumin6012/p/9942083.html