64,648
社区成员
发帖
与我相关
我的任务
分享
#include "stdafx.h"
#include <iostream>
#include <strstream>
using namespace std;
int main(int argc, char* argv[])
{
char array[]="藽";
strstream ss;
ss<<hex<<*(short*)array<<endl;
char buff[10] = {0};
ss>>buff;
cout<<buff<<endl;
return 0;
}