cm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agoTell me the truth ...piefed.jeena.netimagemessage-square97linkfedilinkarrow-up125arrow-down11
arrow-up124arrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square97linkfedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up2·edit-24 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