标签:http os io ar html amp c++ htm
http://bbs.chinaunix.net/thread-1257205-1-1.html
#include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { unsigned short v = 0x0102; unsigned char *p = (unsigned char *)&v; if (*p == 0x01) printf("big\n"); else if (*p == 0x02) printf("small\n"); return 0; } |
标签:http os io ar html amp c++ htm
原文地址:http://www.cnblogs.com/Billy-rao/p/3912258.html