数组 16进制输出 #include<iostream> using namespace std; for (auto i = 0; i <6;i++) { cerr<<std::hex<<(int)ret[i]<<","; }