+ 2
What is the function of c++
5 Answers
+ 6
okay thanks
+ 5
@Adebimpe
To code what?
+ 2
to code
+ 1
main()
*drumroll*
CPP is basically to do the stuff C does, but easier and safer. Neither are capable of much without libraries but this is a strength.
CPP provides more features than C and is a bigger language promoting more focus on Object Oriented Programming (though you can use it procedurally). Nearly all large commercial software is written in CPP because deployment is significantly quicker than C and code is easier to modularize. C is more suited for very low-level stuff like kernel code though a few indie game devs have made projects in C.
CPP is easy to learn but hard to write. One example is overloading functions for every conceivable data type when a template would do.
As you can see it's a broad question that I've touched on a few aspects of. Why not do some research?
0
As a multipurpose language which is fast,efficient,readable and can be easily debugged.