+ 1

what is bit field in cpp?

13th May 2019, 10:15 PM
Ali Rahmani
Ali Rahmani - avatar
3 Respuestas
+ 2
I found this quite helpful, hope it helps you too ... http://www.geeksforgeeks.org/bit-fields-c/
13th May 2019, 11:24 PM
Ipang
+ 3
A field containing just 0s and 1s.
13th May 2019, 11:13 PM
Sonic
Sonic - avatar
+ 3
Declares a class data member with explicit size, in bits. Adjacent bit field members may be packed to share and straddle the individual bytes. https://en.cppreference.com
13th May 2019, 11:14 PM
inxanedev!
inxanedev! - avatar