+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

3/2/2018 5:43:19 PM

Shubham Raj

9 Answers

New Answer

+3

thanks @manual for these resources

+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!

+6

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

+5

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

+3

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

+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

+2

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

+1

thanks @shadowlite7 ....

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.