Introduction to C++

C++, as we as a whole know is an augmentation to C dialect and was created by Bjarne stroustrup at chime labs.

what is c++ ?

C++ is a middle level language, as it includes an affirmation of both abnormal state and low level dialect highlights. C++ is a statically written, free shape, multi-paradigm, aggregated universally useful language.

C++ is an Object Oriented Programming dialect however is not simply Object Oriented.

Its elements like Friend and Virtual, damage a portion of the vital OOPS highlights, rendering this dialect unworthy of being called totally Object Oriented. Its a center level language.

Advantages of C++ over C Language

The significant contrast being OOPS idea, C++ is a question arranged dialect though C dialect is a procedural dialect.

Separated shape this there are numerous different elements of C++ which gives this dialect a high ground on C language.

Following components of C++ makes it a more grounded dialect than C,

There is Stronger Type Checking in C++.

All the OOPS includes in C++ like Abstraction, Encapsulation, Inheritance and so forth makes it more commendable and helpful for software engineers.

C++ bolsters and permits client characterized administrators (i.e Operator Overloading) and capacity over-burdening is additionally upheld in it.

Special case Handling is there in C++.

The Concept of Virtual capacities and furthermore Constructors and Destructors for Objects.

Inline Functions in C++ rather than Macros in C dialect. Inline capacities make finish work body act like Macro, securely.

Factors can be proclaimed anyplace in the program in C++, however should be pronounced before they are utilized.



Difference   between  c and  c++


It is a structure programming  language.

Top –down in programming design.

This language does not support data hiding feature.

It does not support inheritance  and polymorphism.


It is an object oriented programming language.

Bottom-up approaching in programming design.

Class  variable can be added.

It support data hiding features.

It support inheritance and polymorphism.


Application of C++

It is a versatile language for handling large programmers.

It is suitable for virtually any programming task including development of

Computer  animation

Designing compiler

Access relational data base

Uses logical network device

Humiliation  and modeling

Computer games.


Scroll Up