":" in struct
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Somewhere on net I saw this code,
struct foo {
unsigned int base:19, rehash:13;
};May I know what is significance of unsigned int base:19, rehash:13; . Regards
These are called Bit fields,Check these links for more info, Wiki Chechk Bit Fields Topic
-
Somewhere on net I saw this code,
struct foo {
unsigned int base:19, rehash:13;
};May I know what is significance of unsigned int base:19, rehash:13; . Regards