C language or C++? Suggestion guys. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

C language or C++? Suggestion guys.

Help please.

3rd Nov 2018, 6:48 PM
Andriel
Andriel - avatar
7 Answers
+ 12
Both can be good. Having strong basis in C is of a great help to understand how memory works, and can thus help you be stronger with C++. C is used for system programming while C++ is used in video games and imagery in general. Understanding C will NEVER confuse you to understand C++, if you have problems, maybe you just did not understood C to begin with. I can tell as I am now developing in C++ (you can see with some of my codes here) while having started with C
4th Nov 2018, 9:25 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 5
I think C++. But if you want you can learn C and C++ together!
22nd Aug 2019, 5:19 AM
Water Mary♥
Water Mary♥ - avatar
+ 5
Max you are wrong ! C has dynamic size arrays and they are used to implement vectors ! You can also implement vectors in C (or use a library that does it), you know ;) (I have an example in the code below, it was done before the C playground was released, yeah I am an old sololearner ...) But I completely agree with the pros and cons for every language :) C++ is more "user friendly" in some ways while not in others (templates can hurt the readability a lot ...) https://code.sololearn.com/c8zDe1LsXiOC/?ref=app
22nd Aug 2019, 7:52 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 4
You may start with C and move on C++. Totally depends on your needs. C is perfect for hpc (high performance computing).
4th Nov 2018, 10:13 AM
Dariush Shiri
Dariush Shiri - avatar
+ 3
C++
3rd Nov 2018, 7:45 PM
PureLogicality
PureLogicality - avatar
+ 3
C++ dude!
7th Nov 2018, 3:31 PM
Abhishek Kumar
+ 2
C++ of course! If I'm not wrong, c does have only fixed-size arrays but C++ have vectors. So you need to write more lines of code to use "vectors" in C. And C++ is modern and is much more used than C. Every language have its pros and cons, but knowing any programming language is important. That's my opinion. So it's your choise what to use)))
22nd Aug 2019, 4:58 PM
Max Mykhasiuta
Max Mykhasiuta - avatar