Difference between revisions of "Advanced Cpp"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
 
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 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.
 +
 +
'''Learners''': UG/PG CSE/CS/IT students and anyone who wishes to learning advanced programming.
 
   
 
   
 
__TOC__
 
__TOC__
Line 6: Line 8:
 
==Advance Level==
 
==Advance Level==
  
1) Classes and Objects in C++  
+
1) '''Classes and Objects in C++'''
  
 
+
*Defining Classes  
-Defining Classes  
+
**create a class  
 
+
*Defining Objects  
-create a class  
+
**create an object of the class  
 
+
*Member Functions  
-Defining Objects  
+
*To create a function  
 
+
*Encapsulation
-create an object of the class  
+
*Data Abstraction
 
+
-Member Functions  
+
 
+
-To create a function  
+
 
+
-Encapsulation
+
 
+
-Data Abstraction
+
  
  
 
2) Constructor and Destructor  
 
2) Constructor and Destructor  
  
 
+
*Constructor and Destructor  
-Constructor and Destructor  
+
*To create a constructor  
 
+
*Parameterized constructors
-To create a constructor  
+
*Default constructor
 
+
*Destructor  
-Parameterized constructors
+
 
+
-Default constructor
+
 
+
-Destructor  
+
  
  
 
3) static members in C++  
 
3) static members in C++  
  
 
+
*Static Keyword  
-Static Keyword  
+
*Static variable  
 
+
*Static member function  
-Static variable  
+
 
+
-Static member function  
+
  
  
 
4) Inheritance
 
4) Inheritance
  
 
+
*Inheritance  
-Inheritance  
+
*Concept of subclass and superclass  
 
+
*Types of inheritance
-Concept of subclass and superclass  
+
*Single level inheritance
 
+
*Multilevel inheritance
-Types of inheritance
+
 
+
-single level inheritance
+
 
+
-Multilevel inheritance
+
  
  
 
5) More on Inheritance
 
5) More on Inheritance
  
 
+
*Multiple Inheritance
-Multiple Inheritance
+
*Derived class inherits from more than one base class
 
+
*Hierarchical Inheritance
-derived class inherits from more than one base class
+
*Multiple derived classes inherit from one base class  
 
+
-Hierarchical Inheritance
+
 
+
-multiple derived classes inherit from one base class  
+
  
  
 
6) Function overloading and overriding
 
6) Function overloading and overriding
  
-function overloading
+
*Function overloading
 
+
*Function overriding
-function overriding
+
*Difference between both
 
+
-difference between both
+
  
  
 
7) Polymorphism in C++  
 
7) Polymorphism in C++  
  
 
+
*Polymorphism  
-Polymorphism  
+
*Virtual Members
 
+
*Virtual Function
-Virtual Members
+
 
+
-Virtual Function
+
  
  
 
8) Abstract class in C++
 
8) Abstract class in C++
  
 
+
*Pure virtual function
-Pure virtual function
+
*abstract methods  
 
+
-abstract methods  
+
  
  
 
9) Friend Function
 
9) Friend Function
  
 
+
*friend function
-friend function
+
  
  
 
10) Exception Handling  
 
10) Exception Handling  
  
 
+
*Exceptions  
-Exceptions  
+
*try  
 
+
*throw  
-try  
+
*catch
 
+
-throw  
+
 
+
-catch
+

Latest revision as of 14:38, 7 May 2019

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.

Learners: UG/PG CSE/CS/IT students and anyone who wishes to learning advanced programming.

Contents

Advance Level

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) More on Inheritance

  • Multiple Inheritance
  • Derived class inherits from more than one base class
  • Hierarchical Inheritance
  • Multiple derived classes inherit from one base class


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