What does this mean?

This is a discussion on What does this mean? within the C++ Programming forums, part of the General Programming Boards category; Can someone help a rookie to understand what this structure means? struct _INIT_REG { unsigned int debug:1; unsigned int channel:3; ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    4

    What does this mean?

    Can someone help a rookie to understand what this structure means?

    struct _INIT_REG {
    unsigned int debug:1;
    unsigned int channel:3;
    unsigned int opNibble:4;
    }

    Thanks

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    Look up "bit fields" in your book

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21