Menu boilerplate for C programs