|
From: Bob W. <bo...@ph...> - 2002-06-06 00:32:48
|
Mac, > I'm gonna guess that the book was written some time ago, some of the > C++ standards changed along the way, and not all of the sample code > got updated. That would be my guess. The book was copyrighted in 2000. > **IMPORTANT NOTE FOR NEW C++ PROGRAMMERS ** > Also, there is no such thing as an "ANSI C++ compliant compiler" -- *all* > current compilers fail the conformance tests in various ways. This means > that sample code inevitably needs to be modified for different compilers. For the simplist programs, however, there should not be any modifications required. Just out of curiosity, do you know of a "knowledge base" that summarizes the changes that are often reuired from compiler to compiler? > This is an excellent reason to learn STL programming, because the nastiest > "adjustments" have already been done for you by the STL implementation, > especially if you use something like STLport (www.stlport.org). I am in the process of learning STL programming hand-in-hand with "Accelerated C++". Thanks for the link to "stlport.org"! > Since you are learning from that book, you may want to check out: > > http://www.acceleratedcpp.com/ Thanks again. I had visited that site before but could not find it again. Regards, Bob |