Lookup table solution for AND, OR, XOR, NOT operations
We don't need any bit operations as computers only work with bytes.
-- student's reaction to the introduction of bit operations, circa 2015
After hearing this in my programming class, I created a lookup table solution
for simple logic functions. Namely AND, OR, XOR, and NOT. As most
students only use char and int I did not buid the functions for any other
data type.
Home | We <3 Developers | About us | Generated with pagegen.py