取一个数(1个字节)的高低4位

char c = 0x61;
int high = c >> 4;
int low = c & 0x0F;

  

posted @ 2014-07-08 11:48  布雷泽  阅读(891)  评论(0编辑  收藏  举报