C++以内存对齐原则

首先由一个程序引入话题:ios  1  // 环境:vc6 + windows sp2  2  // 程序1  3 #include <iostream>  4   5  using  namespace std;  6   7  struct st1   8 {  9      char a ; 10      int  b ; 11      short c ; 12 }; 13  14  s
相关文章
相关标签/搜索