You cannot declare a variable as an abstract class. Usually, they are used to provide interfaces between concrete classes that implement the functionality, and the user of a library who we may not want to have access to how it was implemented.
Generally, abstract classes are going to be an advanced technique that is secondary to learning the basics of object-oriented programming in C++.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
|