C++ Bit Fields @WhatsACreel
C++ Bit Fields  @WhatsACreel
Uploaded October 2015 | Updated November 2026, 3 days ago
This vid we'll look a little used, but very interesting C++ mechanism: Bit Fields!

They allow us to declare and use integers of non-standard sizes, like 3 bit integers, or 17. Rather than just sticking to the normal types which are 8, 16, 32 or 64 bits wide. They allow us to conserve memory, and they can be used with Unions to give us a lot of flexibility with flag-like structures.


Become a patron and support What's a Creel programming vids on Patreon:
patreon.com/whatsacreel

FaceBook:
facebook.com/pages/WhatsaCreel/167732956665435
C++ Bit FieldsModern x64 Assembly 13: Control Structures (If statements, do while, while and for loops)IEEE 754: 32 Bit Single Precision FloatsObject Oriented Programming is a Dirty Rotten Low Down Trick: A Look at How C++ WorksLearn Python Programming 2: Arithmetic OperatorsAVX512 (2 of 3): Programming AVX512 in 3 Different WaysDirect3D 11 2: Swap ChainFor Loop PuzzlesIntroduction to Function Pointers in C++: What are they and how are they used?Linux x64 Assembly Tutorial 1: Getting a Value from NASM into G++AES Encryption 1: Intro and OutlineIntroduction to Quantum Computing
Creel |

C++ Bit Fields

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER