Главная страница | назад





Article #16714: Byte alignment in C++Builder

 Question and Answer Database

FAQ1714C.txt   Byte alignment in C++Builder
Category   :C/C++ Language Issues
Platform    :All
Product    :C++Builder  1.x

Question:

How do I get byte alignment in a struct in C++Builder

Answer:


#pragma option -a1
struct foo{ /* put struct definition here */ };
#pragma opiton -a4


7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99