Paul's Windows Notes
Tuesday, February 11, 2020
Explanation of C++ virtual functions
Why we need virtual functions in C++
https://www.javatpoint.com/cpp-virtual-function
Summary:
If you need a base class to call a derived class's functions, then declare that function as virtual whilst in the base class.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment