C++ does have some unique features, that are totally alien to a C programmer. Templates, classes, containers like vector and map to name a few; not to mention how C++ offers new way to assign variables. But still, they don't come as utter shocks if someone knows C and has done OOP before. The point is there are common grounds and smells familiar; and they are two different languages.
Agreed, what I meant is that if your goal is to learn C++, just start directly with C++ and forget about C (for now). This way you can start with the right practices (for C++) from the beginning.
There's a nice talk (with a very misleading title) from Kate Gregory "Stop teaching C" CppCon 2015 which I found very illuminating when approaching C++ professionally for the Nth time
Thanks. C is also a good way to start. Normally when you understand C you understand also C++.
Note:
I mean when you understand the basic principles of programming it is easier to learn a new programming language.
maybe, maybe not. If you get into modern C++ (from C++11 onwards) the two are almost like two different languages :)
C++ does have some unique features, that are totally alien to a C programmer. Templates, classes, containers like vector and map to name a few; not to mention how C++ offers new way to assign variables. But still, they don't come as utter shocks if someone knows C and has done OOP before. The point is there are common grounds and smells familiar; and they are two different languages.
Of course that's what I said. They are still different languages. But when you are familiar with C I guess with some practice you understand C++
Agreed, what I meant is that if your goal is to learn C++, just start directly with C++ and forget about C (for now). This way you can start with the right practices (for C++) from the beginning.
There's a nice talk (with a very misleading title) from Kate Gregory "Stop teaching C" CppCon 2015 which I found very illuminating when approaching C++ professionally for the Nth time
Thanks. I will look after the video. 👌