Hi, it's been a while since I've done any C++. When i try to compile this code, I get a linker error. There are probably quite
a few bugs in the code. But this shouldn't cause a linker error, should it?

Code:
#include <stdlib.h>
#include <stdio.h>
#include <iostream.h>

char makegrid()
{
  char grid[3][3] = {{'W','e','l'},
                          {'c','o','m'},
                          {'e','!','!'}};
  return grid;
}

int showgrid()
{
  for (int y=0;y<3;y++)
  {
    for (int x=0;x<3;x++)
    {
      cout<<grid[y][x]<<" ";
    }
    cout<<endl;
  }

return 0;

}

int main()
{
  cout<<"Hey!\n";
  showgrid();
  
return 0;

}
This is the linker error I get:
C:\DEV-C_~1\Lib\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'

Any help would be appreciated.