I'm starting programming and would like to know the difference between c
and c++
and which one should I start to make studying easier.
I'm starting programming and would like to know the difference between c
and c++
and which one should I start to make studying easier.
You're asking two questions here. Basically your questions are:
What is the difference between C and C ++?
Why (C and C ++) start the studies?
About the first question, there are two different programming languages, but it is important to stress that C ++ consists of language C with a lot of additives made by other people. It is very difficult to find a C program that is not valid in C ++, but it is easy to find a C ++ program that is not valid in C.
Note that this does not mean that C is something obsolete that can be overridden by C ++. See more about this in this question .
Finally, on your second question, this is entirely opinionated (which is not good according to the format of this site). There are those who will tell you that it is better to start with C and there are those who will tell you that it is better to start with C ++. But, remember that because almost all programs valid in C are also valid in C ++, and since both languages are supercomplexed, then this point would be worth starting with C. On the other hand, someone can say that with this you will not learn object-oriented programming right at the beginning, and therefore C ++ would be better. There are also a lot more reasons to argue for both sides.
Both are programming languages and are commonly used to create games as well as common systems, differences:
C is a structural language
C ++ is an object-oriented language
I'd recommend starting with C since it's easier and simpler for anyone who's getting started with programming.
Good studies!