vs05字节对齐问题又一不小心就弄去了我一个下午的时间

由于一字节的对齐问题,我调一个库调了我基本一个下午.....

犯错其实并不可怕,

可怕的是你一犯再犯......

这也算得上是难能可贵...

 

/Zp (Struct Member Alignment)

Visual Studio 2013
 
Other Versions
 
This topic has not yet been rated Rate this topic
 

Controls how the members of a structure are packed into memory and specifies the same packing for all structures in a module.

 
 
/Zp[1|2|4|8|16]

posted on 2014-05-08 20:19  Orz..  阅读(216)  评论(0编辑  收藏  举报

导航