While I can't help you with the source code, I will suggest - presuming you are using the book to study - to learn from a more recent book. A LOT has happened in the almost 15 years since that book...