C++ · Loops

for loops and off-by-one

When a loop must run an exact number of times, one character in its header decides whether it runs once too often.