C++

Multithreading in C++

What is Multithreading? Multithreading is a subset of multitasking, which is the feature that allows your computer to run two…

2 years ago

Memory Management in C++

What is Memory Management? Memory management is defined as the process of managing a computer's memory, such as assigning memory…

2 years ago

File Handling using File Streams in C++

A file is a medium for storing data or information. The sequence of bytes provided as input to the executing…

2 years ago

Exception Handling in C++

What is an Exception? An exception is a problem that arises during the execution of a program. A C++ exception…

2 years ago

Examples of Operator Overloading in C++

Let's see examples of operator overloading in C++ for various types of operators. Examples: 1) Add given timestamps by overloading…

2 years ago

Operator Overloading in C++

What is Operator Overloading? Operator overloading is a compile-time polymorphism in which the operator is overloaded to provide the user-defined…

2 years ago

Virtual Destructors in C++

What is a Virtual Destructor? Deleting a derived class object with a non-virtual destructor using a pointer of the base…

2 years ago

Pure Virtual Functions and Abstract Classes

What are Pure Virtual Functions? A pure virtual function is a virtual function in C++ that does not require any…

2 years ago

Virtual Functions in C++

A virtual function is a member function declared in a base class that is re-defined (overridden) by a derived class.…

2 years ago

Method Overriding(Polymorphism)

What is Polymorphism? The term "polymorphism" refers to having multiple forms. Polymorphism is defined as the ability of a message…

2 years ago