Bitmasks - Learn C - Free Interactive C Tutorial
learn-c.org · 550 words · saved by 1 readers
learn-c.org is a free interactive C tutorial for people who want to learn C, fast.
Bitmasks - Learn C - Free Interactive C Tutorial Welcome / Bitmasks Bitmasks Bit masking is simply the process of storing data truly as bits, as opposed to storing it as chars/ints/floats. It is incredibly useful for storing certain types of data compactly and efficiently. The idea for bit masking is based on boolean logic. For those not familiar, boolean logic is the manipulation of 'true' (1) and 'false' (0) through logical operations (that take 0s and 1s as their argument). We are concerned with the following operations: NOT a - the final value is the opposite of the input value (1 -> 0, 0
related reading
- Bitwise operations in C - Wikipediaen.wikipedia.org
- Basic Bit Manipulation - HackMDhackmd.io
- The Lost Art of Structure Packingcatb.org
- how I think when I think about programming - alice mazalicemaz.com
- CS107 Assignment 1: A Bit of Funweb.stanford.edu
- Write your Own Virtual Machinejmeiners.com
- A half-hour to learn Rustfasterthanli.me
- Python representation of negative integers - Stack Overflowstackoverflow.com
- C/C++ data types, basic operators, and control structurescourses.washington.edu
- The "Basics" | Putting the "You" in CPUcpu.land
- Learn C++ – Skill up with our free tutorialslearncpp.com
- Bloom Filters - Much, much more than a space efficient hashmap! | Ben E. C. Boyterboyter.org