摘要: #include <stdio.h> // big_ending: 1 // little_ending: 2 int IsLittleEnding() { union { short value; char array[2]; } u; u.value = 0x0102; if (u.array[ 阅读全文
posted @ 2021-06-27 23:19 道友请留步W 阅读(94) 评论(0) 推荐(0) 编辑