Added some console outputs to use library.
This commit is contained in:
@ -1,3 +1,19 @@
|
|||||||
#include "genericcore.h"
|
#include "genericcore.h"
|
||||||
|
|
||||||
GenericCore::GenericCore() {}
|
#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;
|
||||||
|
}
|
||||||
|
|||||||
@ -5,6 +5,9 @@ class GenericCore
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GenericCore();
|
GenericCore();
|
||||||
|
~GenericCore();
|
||||||
|
|
||||||
|
void sayHello() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GENERICCORE_H
|
#endif // GENERICCORE_H
|
||||||
|
|||||||
Reference in New Issue
Block a user