Thanks for your help
I'll be heading over to that
thread. I don't think it is unrealistic at ALL to expect printed code to compile. Poor grammar I can live with, but a sloppy index and incorrect code I can not. I paid for the book to learn how to program, not to bang my head for an hour then turn to the next page to find out I just wasted my time. Again,thanks for the help!