Sorry if this is a bit off-topic but I didn't know where else to post this. I've been writing Java for about 2 years now and love it. I do however need to do some things in C++ via JNI but I know absolutely nothing about C or C++.
So, my question is, what books and resources are recommended for teaching C++ to a Java programmer?
Additionally, should C be learned before C++? I know that C++ is based on C but I found the folliwng on http://www.parashift.com/c++-faq-lite:
If your ultimate goal is to learn C++ and you
don't already know C, reading books or taking
courses in C will not only waste your time,
but it will teach you a bunch of things that
you'll explicitly have to un-learn when you
finally get back on track and learn OO/C++
(e.g., malloc(), printf(), unnecessary use
of switch statements, error-code exception
handling, unnecessary use of #define macros,
etc.).
I already know about programming and OOP so I don't need a beginners book that introduces these concepts with silly analogies (ala "Idiot's Guides" or "Teach yourself C in 24 Hours"). I'd be more interested in an in-depth, down-to-business type book (ala O'Reilly).
Finally, I'm quite spoiled because I rely heavily on javadocs and this forum. Are there any similar resources for C++? I haven't found any good ones yet.
Please let me know what you think, thanks!