Citadel interview question

Design a logbook using C/C++