@[email protected] to Programmer [email protected] • 1 month agoTell me the truth ...piefed.jeena.netimagemessage-square167fedilinkarrow-up11.15Kcross-posted to: [email protected]
arrow-up11.15KimageTell me the truth ...piefed.jeena.net@[email protected] to Programmer [email protected] • 1 month agomessage-square167fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink40•edit-21 month 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
minus-squareSonotsugipaalinkfedilinkEnglish10•edit-21 month agoThat’s only for C++, as far as I can tell that struct is valid C
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 booleansThat’s only for C++, as far as I can tell that struct is valid C