views:

144

answers:

3

Could you recommend me some books on C and C++, that would be suitable for a Java developer? In JAVA most things look simple enough, and the Specification helps a lot but both C and C++ are full of features that make me dizzy. Not that I have absolutely no experience with C++, but it's far from enough.

I am especially interested in C books, as I might need to port some apps from C to JAVA and the OOP implementation in C looks quite bizarre to me. Classes in C++ are OK, but C seems to do the job with some other roundabouts that are quite unclear to me.

Is there a official C & C++ documentation (like the one Java's got)? And there are so many libraries that are often used that make deciphering C code even harder for me. I mean, for example, Win32 apps look different with all their typedefs and all.

Thanks!

+1  A: 

You can refer C book written by Ashok Kamthene.For c++ complete reference is the best.

carthee
Thanks. That book looks quite interesting.
Albus Dumbledore
+1  A: 

The only official source of documentation is the actual language standard

(ISO/IEC 9899 for C and ISO/IEC 14882 for C++)

Draft versions are available here and here, but the final versions cost a few dollars.

They're not easily readable, but they're the only complete and authoritative description of the two languages.

jalf
Thank you so much! However, have you got any idea as to why these (as you pointed out) _official drafts_ look so chaotic and unhelpful? It just puzzles me that they should look like that. I don't know if I'd ever find my way through.
Albus Dumbledore
because they're not intended as textbooks. They're meant as references for compiler implementers first and foremost, to explain the language in *complete* detail. They're where you go to look up "is this really legal", or "precisely what should happen in this case". But reading them from from beginning to end is going to be painful. They're useful references though.
jalf
+2  A: 
UrNotSorry
Thanks _very_ much! Pretty exhaustive. Exactly what I dreamed of!
Albus Dumbledore