Project layout, naming and a driver you can demo
A driver is the short main program that runs the statement's commands and prints the answers. In a machine-coding round, it is how the interviewer meets your work. This page covers where each file goes, what to call things, and how to keep the rules out of the driver. The interviewer wants to type a command and see the answer, and then open a file and find a rule.
A stage manager and her cue sheet
Picture a small theatre on show night. The stage manager sits at the side of the stage with a cue sheet, one cue on each line. She reads a cue, tells the right person what to do, and says what happened into her headset. She doesn't act or work the lights herself. If a cue makes no sense, she says so and goes on to the next one, because the show has to keep going.
Before the show, the company manager brings everyone together, puts a name on each dressing-room door, and hands her the sheet. In rehearsal she works from a sheet just like it, with no audience.