Tag: future


 Working with multiple files in C++ Object Oriented Programming Language.


Basic and Advance C++ Object Oriented Programming Language, Coding and Theory Tutorials with examples for Computer Science Students.


When two functions with the same name are present in base class and its derived class, and we try to call the copy of derived class function using the pointer of base class, what happens, normally, a base class pointer always calls the copy of the function present in base class(it doesn’t matter whether a base Class pointer is made to point to the object of derived class).
To resolve such type of problem, c++ provides “virtual” keyword, a function which is preceded by virtual keyword is known as virtual function. The benefit is, when a function is made virtual, c++ determines which function to use at runtime based on the type of object pointed to by the base pointer, rather than the type of the pointer. Rules for virtual Function. Pure Virtual Function. Virtual Functions – Friend Functions, Static Functions| OOP in C++.


These future technologies can change the future. Have a look.

Custom Search