+ 4

Is it important to learn C before learning C++. And what are the advantage of learning c first .

I heard that both are much the same; just C is the old version

26th Nov 2018, 12:01 PM
Haris Khan
Haris Khan - avatar
10 odpowiedzi
+ 10
No it is not compulsory to learn c before c++ you can first learn c++ and then c both the languages are quite similar to each other but not exactly the same....
26th Nov 2018, 1:07 PM
Mehak Jain
+ 5
they aren't the same thing, they are quite different and i think is better to learn c before cpp so you can learn also the basics of cpp and the syntax of a lot of PL
26th Nov 2018, 12:13 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar
+ 3
It is not compulsory to learn C first then C++ You can learn c++ first and then you can move on to c C++ is same as C only it include Classes & Objects
26th Nov 2018, 12:54 PM
Coder 2083
Coder 2083 - avatar
+ 3
no it's your choice..
26th Nov 2018, 1:32 PM
Mehak Jain
+ 2
So what is it in c that is not included in c++ .
26th Nov 2018, 12:22 PM
Haris Khan
Haris Khan - avatar
+ 1
Os is it compulsory to learn both like you said I can learn c++ and then c .
26th Nov 2018, 1:27 PM
Haris Khan
Haris Khan - avatar
+ 1
No. they are different and independent languages. There are many common features (because C++ was, obviously, based on C),but with different paradigms after all. Even being able to run a C code in a C++ compiler for obtaining a operable .exe, a bad pratice in general case, there is no reason to learn one intendend to get aveasier way to learn the other. It's like learning oud for a future better performace when studying spanish guitar. Could be usefull, but...
26th Nov 2018, 7:41 PM
Daniel Bandeira
Daniel Bandeira - avatar
+ 1
Because of the OOP extensions in C++, the syntax will sometime be subtly different from C. Pick up most C++ books and they will have many warnings about how this feature differs from plain C. Learn both if you will be able to use them. The order should not matter. Just be aware you will always be having to remember those differences.
28th Nov 2018, 3:15 AM
Gary Duck
Gary Duck - avatar
+ 1
Not both are same but their is big differnce C is procedrual oriented programing language While c++ is object oriented programming language So c++ provide extra feature Like Object Class Inheritence Polymorphisom Message passing etc
24th Feb 2019, 12:58 PM
Aaditya Tailor
Aaditya Tailor - avatar
0
No, You Can Learn C++ Without Knowing C. If You Start With C++ You Can Learn any language with ease!
1st Dec 2018, 5:04 AM
Aromal j Thomas