摘要:
1。大端小端的一个测试程序在之前一篇文章中有提到,下面是写的一个测试程序,可以用来查看一个机器是大端还是小端表示 1 #include<stdio.h> 2 typedef unsigned char * bytePointer; 3 void show_bytes(bytePointer start, int size){ 4 printf("start address : %p\nsize : %d\n", start, size); 5 for (int i = 0; i < size; i++){ 6 printf("address : 阅读全文
posted @ 2012-07-11 15:43
小宇2
阅读(1860)
评论(2)
推荐(0)

浙公网安备 33010602011771号