C question



Hi everyone

I am trying to get to terms with programming in C now.

What does the following mean?
I understand that it is a structure called dat_bits but ...
1) what does the 8 and the 24 mean?
2) why is there no name declared in line 3?

1: typedef struct {
2: _REG32 DATA : 8;
3: _REG32 :24;
4:} dat_bits;


Thanx :)
Xarion


.



Relevant Pages

  • Re: C question
    ... Xarion ... > I am trying to get to terms with programming in C now. ... > 1: typedef struct { ... Prev by Date: ...
    (comp.arch.embedded)
  • Re: Bi,Big and Little Endians
    ... : typedef struct { ... : long int D; ... Type 'man 3 xdr' on your shell's command line. ... commonly used with RPC programming, but in my understanding, ...
    (comp.os.linux.development.apps)
  • copying text form fields automatically
    ... could you recommend a good book for a beginner (in programming anyway) that ... deals with the more complex issues in Microsoft word 2003 such as visual ... basic, fields, forms and macros? ... Prev by Date: ...
    (microsoft.public.word.vba.userforms)
  • Macro to insert formula result into range with zero values in cell
    ... equal to zero in that range. ... If this is more appropriate in worksheet ... Posted only in programming. ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • Re: Delete Files while in Use
    ... actually handed the client connection over to code in a dll or ocx and ... tricks like that in programming. ... Prev by Date: ...
    (microsoft.public.windows.server.general)