20 lines
298 B
C++
20 lines
298 B
C++
#include "genericcore.h"
|
|
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
GenericCore::GenericCore()
|
|
{
|
|
cout << "Creating core..." << endl;
|
|
}
|
|
|
|
GenericCore::~GenericCore()
|
|
{
|
|
cout << "Destroying core..." << endl;
|
|
}
|
|
|
|
void GenericCore::sayHello() const
|
|
{
|
|
cout << "Hello from the core!" << endl;
|
|
}
|