| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: structure alignment |
While listening to andrew clarke Pete heard:structure alignment G'day andrew ac> Microsoft QuickC 2.5 packs (or aligns) structures at 2-byte ac> boundaries, by default. easy just issue #pragma pack(1) before your structure to turn on byte alignment and #pragma pack() after to go back to the default alignment, usually word alignment. PS. good to see another QC 2.5 user around -=Pete=- --- Blue Wave/Max v2.12* Origin: Pete's Point (3:711/920.2) SEEN-BY: 50/99 620/243 623/630 711/401 409 410 425 430 501 510 518 807 808 SEEN-BY: 711/809 920 926 932 934 712/515 713/888 714/906 800/1 7877/2809 @PATH: 711/920 401 808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.