This little program has been written as a solution to a tic-tac-toe exercise on the French C++ forum of the siteduzero.com.