trivial programs I think it would fair to say that a large number of "trivial" programs are written as a means of learning some aspect of application development. Perhaps it would...
A two-factor authentication system.
A documentation system for C++ and many other programming languages.