14.4. Writing a library

Writing a library is similar to writing a program. The first obvious difference is that there is no main(). Libraries are very handy for functions you use regularly or functions you think others may find useful.