I'm thinking about learning C++.... should I learn C first?

Argentina
March 2, 2009 5:47pm CST
I guess the title of the discussion says it all. I'm really interested in the C++ language, but I've heard that it's easier if you take a look at C first. What should I do?
6 responses
@elasolova (144)
• Turkey
11 Mar 09
C is the core of C++. Thus, if you learn C first you will have more power on C++. Personally, I learned Java initially and I think that I made the right choice. Java is more programmer-friendly. There are no pointers such as in C/C++ which are really hard to learn. I advice you to learn Java first.
• Turkey
12 Mar 09
Thanks for your advice, but I am planning to postpone pointers as mush as I can
@reyasmi (125)
• India
8 Aug 09
Hi, Nope... U dont want to learn C to learn C++. because in my case also I learned C++ and then C. It will be easier to learn C++ than C. Since it is object oriented language. Regards, Reyas
• India
4 Mar 09
I would recommend that you definitely learn C first for a little while till you are familiar enough to write simple programs in it and know about things like structures and pointers etc. Then start reading about C++. Though most introductory books on C++ have this in the first few chapters.
3 Mar 09
It may be a little easier yes, but since it's a different language your going to be putting in twice as much work. Start with a real simple tutorial on C++ and work your way through at your own pace. I did a little research for you and it would seem this is a really good beginners C++ Tutorial : http://www.computer-training-software.com/fun-cplusplus.htm . Hope that helps you to get started.
• Philippines
10 Mar 09
Yes its easier to learn C++ if already learned C.. many language here at http://www.planetsourcecode.com
@faisai (1138)
• Hong Kong
15 May 09
I am no master in both languages so you may not want to take my suggestions seriously. From my understanding, C++ and C are 2 languages that are very much alike but are fundamentally different. What I mean is that their syntax is very similar (flow controls, logics, data types, etc.). However, the coding model is very different. With C++, you code OOP... Or you aim for OOP when you are coding. In this case you focus on the objects and their responsibilities. With C, it is more function based. Write some function that works what you want it to do. So, if your ultimate goal is to learn C++, I would say just head for it.