C++ programming Language -A overall view

C++   programming   Language

 

Developed by

Before the initial standardization in 1998, C++ was developed by Danish scientist Bjarne Stroustrup at Bell Labs since 1979 as an extension of the C language; he wanted an efficient and versatile language almost like C lang also provided high-level features for programs companys. C++ is an Object Oriented programing language but isn't purely Object Oriented. Its features like Friend and Virtual, violate a number of the vital OOPS features, rendering this language undeserving being called completely Object Oriented. Its a middle level language. C++ programming Language -A overall view  

Characteristics of C++ Language

1. C may be a compiled language:
C++ compiles on to a machine’s native code, allowing it to be one among the fastest languages within the world, if optimized. 2. C++ is portable C++ features a wide selection of compilers that run on many various platforms that support it. Code that exclusively uses C++’s standard library will run on many platforms with few to no changes.. 3. C++ is upwards compatible with C C++, being a language that directly builds off C, is compatible with most C code. C++ can use C libraries with few to no modifications of the C library code. 4. C++ is ISO-standardized language For a time, C++ had no official standard and was maintained by a de-facto standard, however since 1998, C++ is standardized by a committee of the ISO. 5. C++ offers many paradigm choices. C++ offers remarkable support for procedural, generic, and object-oriented programming paradigms, with many other paradigms being possible also .  

Main features of Object Oriented Programming be using in C++(technically).

 
  • Objects
  • Classes
  • Abstraction
  • Encapsulation
  • Inheritance
  • Overloading
  • Exception Handling
 
  • Objects

Objects are the essential unit of OOP. they're instances of sophistication , which have data members and uses various member functions to perform tasks.
  • Class

It is almost like structures in C language. Class also can be defined as user defined data type but it also contains functions in it. So, class is essentially a blueprint for object. It declare & defines what data variables the thing will have and what operations are often performed on the class's object.
  • Abstraction

Abstraction refers to showing only the essential features of the appliance and hiding the small print . In C++, classes can provide methods to the surface world to access & use the info variables, keeping the variables hidden from direct access, or classes can even declare everything accessible to everyone, or even just to the classes inheriting it. this will be done using access specifiers.
  • Encapsulation

It also can be said data binding. Encapsulation is all about binding the info variables and functions together in school .
  • Inheritance

Inheritance may be a thanks to reuse once written code again and again. the category which is inherited is named the bottom class & the category which inherits is named the Derived class. they're also called parent and child class.
  • Polymorphism

It is a feature, which lets us create functions with same name but different arguments, which can perform different actions. meaning , functions with same name, but functioning in several ways. Or, it also allows us to redefine a function to supply it with a totally new definition. you'll find out how to try to to this in details soon in coming lessons.
  • Exception Handling

Exception handling may be a feature of OOP, to handle unresolved exceptions or errors produced at runtime.  

 C++

Since C++ may be a application-oriented language which will teach you the fundamentals of object-oriented programming, it is a good idea to find out it. it is also the language wont to build most big console and Windows games. C++ is complemented by C in these games, and assembly languages for creating low-level engine modules. Plus, shader code for graphics uses OpenGL, or an identical framework. C++ is one of the best languages to begin with for a beginner. You can learn C++ in either of the two ways, by taking an online course or by referring a C++ book. C++ is the foremost broadly utilized programming dialect in application and system programming. So you'll be able to select your region of intrigued of computer program development. C++ truly instructs you the contrast between compiler, linker, and loader, diverse information sorts, capacity classes, variable types their scopes, etc. There are 1000s of great reasons to memorize C++ Programming. But one thing for beyond any doubt, to memorize any programming dialect, not only C++, you fair got to code, and code and at long last code until you got to be expert. Whether you need to memorize C++ as a Pastime, For School, College or need to construct a career within the field, this Instructional exercise is for you. This instructional exercise covers everything from the Essentials of C++ to Progressed Concepts like Information Structures. You can take after some good books. But I would emphatically recommend you observe Coding Ninja Courses.

Topics in sequence to learn  C++ right way.

  1. Classes with member variables and methods. Use public at this stage.
  2. Method overloading
  3. Operator overloading, operator cascading
  4. Access specifier (private and public)
  5. Inheritence
  6. Access specifier (protected)
  7. Virtual function and pure virtual function
  8. Abstract class
  9. Templates, generic classes and methods