Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ tutorial for experienced C programmer [closed]

Tags:

c++

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

Edit: I actually needed the C++ purely for the purposes of adding a couple of dirty hacks to a huge and old C program. Converting the entire program in to properly written OO code is entirely economically unfeasible. Some people have criticized the suggested solutions based on the fact that they will lead me down the path of becoming a "C programmer who knows some C++ without getting in to the proper spirit of C++" - but actually that fits my requirements perfectly.

Edit: The link in the top voted answer seems to be broken right now but the file appears to exist in multiple places - e.g. here.

like image 785
Mick Avatar asked Sep 14 '09 13:09

Mick


People also ask

Can I learn C language in 10 days?

Likewise, the educational program isn't excessively intricate or tedious to follow, as all you require is to experience a few subjects every day and you'll cover the whole schedule in basically 10 days. Along these lines, plunge into the C language world and improve your programming abilities for new job openings!


2 Answers

This might be of some use: C++ tutorial for C users.

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

like image 122
Donut Avatar answered Oct 15 '22 01:10

Donut


I found Thinking in C++ very good when I was going from C to C++.

Link broken - can now be found here

like image 28
Steve Fallows Avatar answered Oct 15 '22 01:10

Steve Fallows