C ++ Tutorial for Experienced C Programmer

I have been programming exclusively in C for 25 years, but have never used C ++. Now I need to learn the basics of C ++ programming. Can anyone recommend an online tutorial (or, if not so, a book) that would be most suitable for me. Thank.

Edit: I actually need C ++ exclusively to add a couple of dirty hacks to the huge and old C program. Converting the whole program to correctly written OO code is completely economically impossible. Some people have criticized the proposed solutions, based on the fact that they will lead me to become a "C programmer" who knows some C ++ without understanding the correct spirit of C ++, "but in fact it matches my requirements.

+56
c ++
Sep 14 '09 at 13:50
source share
7 answers

This might be useful: a C ++ tutorial for C users .

If you're looking for a book, check out Ira C Pohl ( Amazon ) "C ++ for C Programmers".

+31
Sep 14 '09 at 13:53
source share
β€” -

I found Thinking in C ++ very well when I switched from C to C ++.

+12
Sep 14 '09 at 13:55
source share

I would like to offer the New C ++ Super-FAQ created by Bjarne Stroustrup, Herb Sutter, Andrei Alexandrescu, Pearson / Addison- Wesley Publishers and Marshall Cline ( http://www.parashift.com/c++-faq/ ).

+5
Sep 14 '09 at 14:11
source share

If you can get Scott Meyer's 2nd edition of Effective C ++, this should help, as was written for the former C developers. It lists 50 rules that you must follow that are easy to remember, carefully explain, and fun to read. (Scott's goal was to write "the best 2nd book in C ++," which should be read, I think he succeeded.)

The 3rd edition of the book has been completely revised and aimed at developers from C #, Java, etc. earlier versions. However, this can be read well.

+5
Sep 14 '09 at 14:47
source share
+3
Sep 14 '09 at 13:57
source share

This very recent SO question posed by an inexperienced C programmer nonetheless has answers that are also relevant to experienced C programmers.

+2
Sep 14 '09 at 13:55
source share

If you are already a good C programmer, you can probably go directly to the bible, Stroustrup C ++ Programming Language.

+2
Sep 14 '09 at 15:19
source share



All Articles