Roger Luo

超越梦想一起飞
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年6月14日

摘要: 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) 编辑