2019年3月28日

c++——大端序,小端序的排列问题

摘要: #include using namespace std; union TestModel { int i; char ch; }; int main() { union TestModel model; model.i = 1; if(model.i==1) { cout<<"little"<<endl; } else { cout<<"big"<<endl;... 阅读全文

posted @ 2019-03-28 14:55 陶大先生 阅读(200) 评论(0) 推荐(0)

导航