1 #include 2 void check_endian() 3 { 4 union 5 { 6 short value; 7 char union_bytes[sizeof(short)]; 8 }tester; 9 tester.value = 0x0102; 10 if( (tester.uni... Read More
posted @ 2016-04-11 16:26 你好阿汤哥 Views(511) Comments(0) Diggs(0) Edit