cm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agoTell me the truth ...piefed.jeena.netimagemessage-square145linkfedilinkarrow-up11.06Karrow-down114
arrow-up11.05Karrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square145linkfedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up34·8 months agoOr just std::bitset<8> for C++. Bit fields are neat though, it can store weird stuff like a 3 bit integer, packed next to booleans
Or just
std::bitset<8>for C++. Bit fields are neat though, it can store weird stuff like a 3 bit integer, packed next to booleans