摘要:
typedef vector<string> StrVector;
void ASCII2String(const char * sz, StrVector& v1)
{ int val = 0; string str; const char * p = sz; while (*p) { str = ""; val = (int)*p; val &= 0x000000ff; while (val) { switch (val%16) { case 0xF: str = "F"+str; break; case 0xE: ... 阅读全文
posted @ 2012-06-14 11:32 Roger Luo 阅读(629) 评论(0) 推荐(0) 编辑