+ 9

What are some major things that we can do in C ++ but not in C ?

I just wanted to know that why everybody takes C llightly and C ++ as Good language .. Is there any major difference , Since yet i had just studied the basics of C and C++ both and i cant find any difference. Please Dont laugh and upvote this ,since its my first question on sololearn

2nd Mar 2018, 5:43 PM
Shubham Raj
Shubham Raj - avatar
9 ответов
+ 3
thanks @manual for these resources
2nd Mar 2018, 6:30 PM
Shubham Raj
Shubham Raj - avatar
+ 9
First off, don't be so hard on yourself, that was honestly a great question! On to the actual answer, C and C++ are very similar languages, some would even say they're like sister languages. One of the major differences between the two is that C++ supports object oriented programming, meaning it allows for the use of classes, polymorphism, inheritance, etc. C, on the other hand, does not have any support for it (at least with the standard library), meaning it can be a little limiting in some areas, making C++ the go to for most projects that could be made easier with OOP. Hope this helped!
2nd Mar 2018, 5:55 PM
Faisal
Faisal - avatar
2nd Mar 2018, 6:22 PM
Manual
Manual - avatar
2nd Mar 2018, 6:23 PM
Manual
Manual - avatar
+ 3
Thanks @Faisal . Your answer was too pperfect and now my doubts are almost clear
2nd Mar 2018, 5:59 PM
Shubham Raj
Shubham Raj - avatar
+ 2
quake engine was made in C which played a role in making true 3d graphics C++ just makes graphics a whole lot cleaner and better like unreal engine 3 and 4
3rd Mar 2018, 3:11 AM
SHADOWELITE7
SHADOWELITE7 - avatar
+ 2
C doesn't have things like templates or move semantics and of course oop
3rd Mar 2018, 12:19 PM
Marco
Marco - avatar
+ 1
thanks @shadowlite7 ....
3rd Mar 2018, 4:26 AM
Shubham Raj
Shubham Raj - avatar
0
c is very low level its only good for creating systems and certain softwares only nowadays.. its easier than c++ but lacks some powerful features.
13th Oct 2018, 11:13 PM
Kuyondo
Kuyondo - avatar