0
Why we use the C++ instead of C
What is the requirement of C++ when C is also exits
3 ответов
+ 5
c is a procedure oriented language in which data can be globally accessed where as c++ is an object oriented langugae which allows some additional features like encapsulation,abtraction,polymorphism. in c++ classes and objects are also included however syntax are common of the both languages but both are different language.
+ 2
Abstraction is also possible in C. You can also build polymorphism in C but it's not *built in*. The VideoLan VLC player is a C project that reimplemented polymorphism via function tables.
0
C++ is basically everything people wanted to put in C since ever (about 40 years I think)... making it supper powerful but also very complicated with bad stuff (like goto).