Question d’entretien chez Foresight

read a cpp script, explain it's process, and add minor changes to make it do something else.