Various C++ Examples (including IPC)
Version: 1.0.0
|
basic virtual function / class usage More...
#include <iostream>
Go to the source code of this file.
Classes | |
class | AbstractClass |
A basic abstract Class (that is inherited from) More... | |
class | BaseClass |
class that inherits from AbstractClass More... | |
class | ChildClass |
class that inherits from BaseClass -> AbstractClass More... | |
class | AnotherChildClass |
another example of ChildClass (inherits from BaseClass) More... | |
Functions | |
void | callPrint (AbstractClass &p) |
print something More... | |
int | main (int argc, char **argv) |
demonstrate virtual functions and abstract classes More... | |
basic virtual function / class usage
Definition in file virtuals.cc.
void callPrint | ( | AbstractClass & | p | ) |
print something
Definition at line 46 of file virtuals.cc.
References AbstractClass::print().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
demonstrate virtual functions and abstract classes
Definition at line 54 of file virtuals.cc.
References callPrint().