sizeof bit-fields
Christian Schäfer
caefer@krachstoff.net
Fri Oct 17 06:08:00 GMT 2003
hi Eljay,
Thursday, October 16, 2003, 2:25:26 PM, you wrote:
> Hi Massimiliano,
>>How can I obtain a 5 bytes long structure (if it is possible)?
> If you really want the structure to be 5 bytes AND have byte
> alignment, you'll have to do more of the work yourself.
> For example, in C++, I'd do it this way:
> ...
what exactly is c++ about your code? what would not work with pure c?
I've seen structs with functions in c..
gruss
/Christian mailto:caefer@krachstoff.net
---
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
More information about the Gcc-help
mailing list