Programs written for c++ course in college