Issues with C++ hello_world exercise

Hi all,

I am not sure if this is a programming issue or an issue with the the exercism editor but I am assuming that it is I who am missing something here. I started the c++ exercises, and the first one I was given was the hello_world, when I run my code, I receive a message saying "An error occured. We received the following error when we ran your code: ", and then it’s just blank. My code runs fine when I tried it on my local machine.
Here is my solution

#include <iostream>
#include "hello_world.h"

using namespace std;
std::string hello_world::hello ()
{
    return "Hello, World!";
}
int main () {
    std::cout << hello_world::hello();
    return 0;
}

EDIT: I resolved it, it appears that it was wrong to add the main function, I find that very confusing. It passed after I left only the implementation of the hello_world function. I think this should be explained more clearly in the exercise, or if it was, I have missed it.

Did you watch the intro video? Jeremy is pretty clear about what should be changed here.