A pure virtual function is implemented by classes which are derived from a Abstract class.
Pure virtual Functions are virtual functions with no definition. They start with virtual keyword and ends with = 0.
Here is the syntax for a pure virtual function,
virtual void f() = 0;
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|