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

3/2/2018 5:43:19 PM

Shubham Raj

9 Answers

New Answer


thanks @manual for these resources


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!


C resources https://www.sololearn.com/discuss/635969/?ref=app


C++ Resources https://www.sololearn.com/discuss/459759/?ref=app


Thanks @Faisal . Your answer was too pperfect and now my doubts are almost clear


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


C doesn't have things like templates or move semantics and of course oop


thanks @shadowlite7 ....


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.