I'm in the process of learning OOP, as my "teacher/link referencer" told me was the best thing to learn next. I started working on a simple T-RPG to put the concepts to use, while learning. But I made a function that couts "Hi!" and it gives an error(could not execute function without object), when ad an object it scolds me for not using it(folowing another tip from my "teacher", to make all warnings errors)

<b>main.cpp</b>
Code:
#include <iostream>
#include "player.h"

using namespace std;

int main()
{
    hero::say_hi();
}
<b>player.cpp</b>
Code:
#include <iostream>
#include "player.h"

using namespace std;

char hero::namehero(){
    //To get desired name
    cin.get();
}
void hero::say_hi(){cout<<"Hi!";}
<b>player.h</b>
Code:
#ifndef PLAYER_H_INCLUDED
#define PLAYER_H_INCLUDED

#endif // PLAYER_H_INCLUDED
class hero{
    public:
    /** Set/Get functions **/
        char namehero();
        void say_hi();
    /** End of Set/Get functions **/
    private:
    /** Needed variables **/
        char hero_name;
    /** End of variables list **/
};
If you could help me find the error it would greatly help as I am befowled at the problem at hand.(my guess is that it's really obvious)