You're probably asking about polymorphism. In C++ virtual functions make it work:
#include <iostream>
using namespace std;
class Foo {
private:
int data;
Type: Posts; User: whiteflags
You're probably asking about polymorphism. In C++ virtual functions make it work:
#include <iostream>
using namespace std;
class Foo {
private:
int data;