中文字符
摘要:
#include#include #include using namespace std;void char2Hex(char c) // 将字符以16进制表示{ char ch = ((c&0xF0)>>4)+'0'; // char ch = c/0x10 + '0'; // 汉字占两位 ... 阅读全文
posted @ 2014-11-13 21:18 kangbry 阅读(225) 评论(0) 推荐(0) 编辑
posted @ 2014-11-13 21:18 kangbry 阅读(225) 评论(0) 推荐(0) 编辑