The source code for all the examples that appear in the book is available on the Web at Appendix E.
A current errata for the book is also available from the same Web site.