educative.io

Learn Object-Oriented Programming in C++ (Educative)


Classes - Class Member Functions In this lesson, we will highlight the role of member functions in classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5681682011127808). Data Hiding - Abstraction in Header Files The second strategy for implementing abstraction is creating header files. Find out more below! View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5663249085235200). Classes - Class Definition In this lesson, we will learn about the first steps in creating a class. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4807631111716864). Classes - Friend Functions Now, we'll take a look at a special category of functions called friends. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6265394450923520). Classes - Challenge 3: Implement a Calculator Class In this exercise, you have to implement a calculator which can perform addition, subtraction, multiplication, and division. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6309853570007040). Data Hiding - Quiz Tets your knowledge on data hiding with this fun quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5004940634226688). Functions - Quiz Test your knowledge on functions with this quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5047736560779264). Polymorphism - Pure Virtual Member Functions In this lesson, we'll be learning about a very important concept of polymorphism, i.e., Pure Virtual Member Functions. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5631920520036352). Functions - Arguments and Function Scope This lesson deals with the nature of the arguments being passed to a function. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5686051871916032). Polymorphism - Quiz Let's test your understanding of the polymorphism. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5126740829536256). Pointers - Pointers and Dynamic Memory So far, we've only discussed the behavior of pointers with the stack. Let's see how pointers can be used in dynamic memory. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5641841626054656). Classes - Class Data Members This lesson will go into the details of the data members of a class. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5709032362868736). Inheritance - Types of Inheritance In this lesson, we'll learn about the types of inheritance which includes multiple inheritance and multilevel inheritance. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5728170737139712). Inheritance - Challenge 2: Implement an Animal Class In this challenge, we'll implement a base class Animal and two derived classes Sheeps and Dogs. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4545966336114688). Inheritance - Challenge 3: Implement a Father Class In this challenge, we'll implement a base class father and derived classes, son and daughter. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5007987041107968). Polymorphism - Virtual Member Functions In this lesson, we'll be learning about a very important concept of polymorphism, i.e., Virtual member. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5094409657909248). Polymorphism - What is Polymorphism? In this lesson, we will be learning about the basics of polymorphism with the implementation details. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5676337998069760). Composition, Aggregation and Association - Composition In this lesson, we'll learn how can we achieve composition in C++. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4660708266475520). Composition, Aggregation and Association - Aggregation In this lesson, we'll learn a new way of linking different classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4977976493998080). Composition, Aggregation and Association - Conclusion A few final words before we end this course. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5118419777093632). Inheritance - Base Class and Derived Class In this lesson, we'll be learning about how a base class attributes are available to the derived classes and how to define base and a derived class. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6481242327351296). Inheritance - Base Class Constructor and Destructor IIn this lesson, we'll learn how constructors and destructors are called in derived and base classes during inheritance. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5075086331609088). Inheritance - Modes of Inheritance In this lesson, we'll learn about how Public, Private and Protected inheritance is done in C++. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5677063579107328). Introduction - Quiz Let's take a quick quiz to know your basic knowledge of C++. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5139420992765952). Introduction - What is OOP? In this lesson, we'll learn about the historical background of OOP and also key features of object-oriented programming. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4534037064450048). Introduction - C++ as Object Oriented Language In this lesson, we'll learn about the evolution of object-oriented programming in C++. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4576471039344640). Classes - What is a Class? This section will familiarize us with the basic building blocks of object-oriented programming: Classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5643405262585856). Introduction - C++ vs Java vs C# In this lesson, we'll get to know the difference between the three popular object-oriented languages, i.e., C++, Java, and C#. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5814385270325248). Functions - Challenge 1: Sum of All Odd Integers in an Array In a given array, you need to compute the sum of all the odd integers. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5820530026348544). Pointers - Passing Pointers as Arguments In this lesson, we'll try passing pointers as input arguments to functions! View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4799860532314112). Pointers - What are Pointers? In this lesson, we will explain the concept of pointers in C++. This will be crucial in our understanding of OOP. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5699690540564480). Functions - What is a Function? This lesson will define what functions are and why they should be used. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5647878202589184). Pointers - Pointer Arithmetic This lesson highlights the different arithmetic operations we can perform on pointers. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6200986238451712). Functions - Challenge 3: Square Numbers and Return their Sum In this challenge, you need to implement a function which squares passing variables and return their sum. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5972512275955712). Pointers - Variable Addresses in the Stack Let's take a look at how variables in C++ are stored in memory. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5762725628084224). Functions - Challenge 2: Find the Second Minimum in an Array This exercise requires you to find the second minimum in an array. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6730177121878016). Functions - Creating a Function In this lesson, we will learn how to create functions in C++ and use them in our program. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5725771729469440). Classes - Access Modifiers In this lesson, you will learn about the private, public and protected members. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5187112232026112). Pointers - Challenge 2: Swap Values Let's try to swap the values of two pointers. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5777919588696064). Pointers - Challenge 1: Halving a Number In this challenge, we'll create a function which halves the value of a double. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5574983256375296). Classes - Quiz A short quiz to test your understanding of classes in C++ View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4569973525577728). Inheritance - What is Inheritance? In this lesson, we'll be learning about the core concept of the object-oriented paradigm, i.e., Inheritance and why there is a need for it? View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5148336193536000). Data Hiding - Abstraction in Classes This lesson will define what abstraction is and how it relates to data hiding. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5646674806439936). Data Hiding - Challenge 1: Rearranging a Class In this challenge, you'll be splitting up a class into .h and .cpp files. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4561220382228480). Inheritance - Quiz Let's check your understanding of the Inheritance. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5124306656821248). Classes - Challenge 1: Calculating Perimeter of a Rectangle In this lesson, you will solve a challenge to test your understanding of classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4923247336357888). Polymorphism - Overriding In this lesson, we'll be learning about how overriding is done in C++. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5764617829613568). Inheritance - Advantages of Inheritance In this lesson, you'll get to know about the advantages of Inheritance. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6128359325040640). Inheritance - Challenge 1: Implement the Derived Class Can you implement the Derived Class Function by using the Base Class functions? A solution is placed in the "solution" section to help you, but we would suggest you try to solve it on your own first. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5690292323745792). Data Hiding - Encapsulation This lesson shows us how to implement the first component of data hiding: encapsulation. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5728773106302976). Classes - Destructors In this lesson, we will study the purpose of destructors. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5170963154993152). Classes - Challenge 2: Calculate Student's Total Marks In this exercise, you have to calculate a student's total marks using the concept of Classes View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6543841979006976). Data Hiding - What is Data Hiding? In this section, we will learn two concepts which help us create an efficient class in C++ View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5717169983717376). Functions - Overloading Functions In this lesson, we'll see the same function perform different operations based on its arguments. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5144044179030016). Classes - Constructors In this lesson, we explore the world of constructors and learn why they are necessary for a class. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5661512844705792). Composition, Aggregation and Association - A Brief Introduction In this lesson, we will take a look at why composition, aggregation, and association are useful concepts in OOP. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5769475246784512). Pointers - Quiz Test your knowledge about pointers in this fun quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5719915541561344). Polymorphism - Challenge 1: Implement an Account Class Using Virtual Functions In this challenge, we'll implement an account class along with two derived classes saving and current. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/6079684192239616). Polymorphism - Challenge 2: Implement an Account Class Using Pure Virtual Functions In this challenge, we'll implement an account class along with two derived classes saving and current. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/5573517363904512). Composition, Aggregation and Association - Association In this lesson, we'll learn about the relationship between two unrelated objects that is the association in C++. View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4724633016205312). Composition, Aggregation and Association - Quiz Test your knowledge of composition, aggregation, and association in this fun quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/5754868253851648/4963717135466496).
About the Learn Object-Oriented Programming in C++ (Educative) category [Learn Object-Oriented Programming in C++ (Educative)] (1)