C and C++ Tutorial: This explains booleans variables and further explains if statements through booleans.