Recipe 14.1: XML parsing example.

0 views
Skip to first unread message

Paul

unread,
Dec 2, 2005, 7:16:25 AM12/2/05
to cpp-co...@googlegroups.com

Hi Ryan

After transcribing the code on P.486-492, I notice some redundant statements.
At the top of the main source file, "using namespace std;" is used, and the
same line is in the body of each function - Redundant, and possibly confusing
IMO.

There is also a pontential for segmentation faults in the sections where
veterinarian and trainer are read - Unlike the other reads, no check is made
for element != 0.

Thanks to yourself and your co-authors for what looks to be a valuable
reference to add to the bookshelf.


Regards, Paul.

christopher diggins

unread,
Dec 2, 2005, 9:34:15 AM12/2/05
to cpp-co...@googlegroups.com
Thanks for the corrections Paul, and the encouragement!

If you have a moment and the interest, it would be greatly appreciated if
you could take a moment to write a short review of the book at Amazon.com
( http://www.amazon.com/gp/product/0596007612 ).

Thanks again ,
Christopher Diggins
http://www.cdiggins.com
Reply all
Reply to author
Forward
0 new messages