摘要: 1、可以采用取整和取余的方式实现: 2、可以采用移位的方式实现: #include <stdio.h> int main(int argc, char **argv) { int test = 0x2345; printf("%#x\r\n", (test >>8) & 0xff); printf( 阅读全文
posted @ 2019-05-27 09:31 假如蜗牛有梦想 阅读(963) 评论(0) 推荐(0) 编辑