Difference between revisions of "Advanced Cpp"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 1: Line 1:
==Advance C++==
 
  
C++ is a programming language developed by  Bjarne Stroustrup starting in 1979 at Bell Labs.
 
  
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose, powerful programming language.
+
C++ is a programming language developed by  Bjarne Stroustrup starting in 1979 at Bell Labs. C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose, powerful programming language. C++ is an object oriented language. It supports features like  classes and objects, Polymorphism, Encapsulation, Inheritance etc. C++ is also used for hardware design.
 
+
C++ is an object oriented language.  
+
 
+
It supports features like  classes and objects, Polymorphism, Encapsulation, Inheritance etc.  
+
 
+
C++ is also used for hardware design.
+
 
   
 
   
 
__TOC__
 
__TOC__
  
==Advanced level== 
+
 
  
 
1) Classes and Objects in C++  
 
1) Classes and Objects in C++  

Revision as of 12:35, 26 July 2013


C++ is a programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose, powerful programming language. C++ is an object oriented language. It supports features like classes and objects, Polymorphism, Encapsulation, Inheritance etc. C++ is also used for hardware design.



1) Classes and Objects in C++


-Defining Classes

-create a class

-Defining Objects

-create an object of the class

-Member Functions

-To create a function

-Encapsulation

-Data Abstraction


2) Constructor and Destructor


-Constructor and Destructor

-To create a constructor

-Parameterized constructors

-Default constructor

-Destructor


3) static members in C++


-Static Keyword

-Static variable

-Static member function


4) Inheritance


-Inheritance

-Concept of subclass and superclass

-Types of inheritance

-single level inheritance

-Multilevel inheritance


5) Multiple and Hierarchical Inheritance


-Multuple Inheritance

-Hierarchical Inheritnace


6) Function overloading and overriding

-function overloading

-function overriding

-difference between both


7) Polymorphism in C++


-Polymorphism

-Virtual Members

-Virtual Function


8) Abstract class in C++


-Pure virtual function

-abstract methods


9) Friend Function


-friend function


10) Exception Handling


-Exceptions

-try

-throw

-catch

Contributors and Content Editors

Ashwini, Nancyvarkey, PoojaMoolya