摘要: int v = 0x0D0C0B0A; char* c = (char*)&v; if (*c == 0x0A) cout << "little endian"; else cout << "big endian"; 阅读全文
posted @ 2019-07-14 22:13 Lightmonster 阅读(142) 评论(0) 推荐(0)