View Single Post
  #2 (permalink)  
Old 01-08-2007, 12:43 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,255
Last Blog:
wxWidgets is NOT code ...
Credits: 2,754
Rep Power: 36
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default

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++.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Reply With Quote