Code samples from the Head First C book.