Added some console outputs to use library.

This commit is contained in:
2025-10-02 13:42:13 +02:00
parent 3447bbbb3b
commit fd32b85554
2 changed files with 20 additions and 1 deletions

View File

@ -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;
}

View File

@ -5,6 +5,9 @@ class GenericCore
{ {
public: public:
GenericCore(); GenericCore();
~GenericCore();
void sayHello() const;
}; };
#endif // GENERICCORE_H #endif // GENERICCORE_H