new tickets program in C++