Nicola Musatti wrote: > On Feb 24, 5:25 am, Paul Rubin <http://[EMAIL PROTECTED]> wrote: >> Jeff Schwab <[EMAIL PROTECTED]> writes: >>>> there's actually a published book specifically about C++ pitfalls. >>> Mercy, a whole book? >> http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?EAN=97802... > > Read the title. This is about "C Traps and Pitfalls". Although it > shows its age, it's still worth reading. Unfortunately from its price > you'd think it was handwritten.
That is not a book about C++ pitfalls. That is a book about C pitfalls. They really are two very different languages. Don't get me wrong, C++ has pitfalls of its own -- perhaps the worst of which is writing C and thinking it's C++ in anything other than a superficial sense. But there are vanishingly few cases that could lead to out-of-bounds indexes or dangling pointers anymore. -- http://mail.python.org/mailman/listinfo/python-list