ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Вторник
21 мая
57489 Топик полностью
AD (27.04.2006 11:26, просмотров: 1) ответил Ilia_Litvinenko на Недопустимо, если необходима строгая последовательность
Может, вот выдержка из документа The following is quoted from the X3J11 ANSI C "Rationale for American National Standard for Information Sytems - Programming Language - C": Section 3.5.2.1 Structure and union specifiers " The layout of structures is determined only to a limited extent: * no hole may occur at the beginning; * members occupy increasing storage addresses; and * if necessary, a hole is placed on the end to make the structure big enough to pack tightly into arrays and maintain proper alignment." Т.е. порядок отдельных членов не гарантируется.