I'm trying to create a simple tic tac toe game using c++ as part of some homework but having difficulty drawing the board. I'm trying to draw a basic board using hyphens (dashes) like:

```
- - -
- - -
- - -

```

But I get the error "Argument of type 'int' is incompatible with parameter of type 'char'". Can someone please help by pointing me in the right direction?

My code is as follows:

```
char empty = '-';

int size = 9;
int width = 3;

void showBoard(char board[]);

void showBoard(char board[])
{
    for (int i = 0; i < size; i++)
    {
        for (int j = 0; j < width; j++)
        {
            board[i] = empty;

          cout << board << endl;
        }

        cout << endl;
    }
}

int main()
{
    showBoard(10);
}

```