+ 2

What is the main difference between c and c++? Which one should i focus?

Im starting now to learn how to code. I started with c++ but i never really understood the difference between c and c++. Are both important or should i focus more in one than the other?

20th Apr 2017, 1:00 PM
Gustavo Silva
Gustavo Silva - avatar
3 odpowiedzi
+ 1
main difference is C++ is object oriented and C is not.I think you should focus on C++ as the object oriented concept etc are there in many other commonly and widely used languages like java etc. So if you want to go forward to other languages it would be very helpful if have a good knowledge in C++.
20th Apr 2017, 1:19 PM
Jilson Joseph
+ 3
You can think of C++ as the upgraded version of C. C++ was the improved version of C. Typically people suggest starting with C because the language is easier to pick up as C does not support all the features of C++. Think of C and C++ as a bike with training wheels. Typically you start with training wheels until you get the hang of things then you take the training wheels off and are capable of riding more than the bike you trained on as their are various types of bikes. Not all bikes work exactly the same but they are all very similar.
20th Apr 2017, 11:35 PM
Ty Ler
Ty Ler - avatar