没有与这些操作数匹配的 "<<" 运算符 -- 操作数类型为: std::basic_ostream<char, std::char_traits> << std::array<char, 5UL>
缺少头文件,加个
#include<string>
头文件试试