I have a data structure in a header file of a player and a goblin that looks like this:

```
#ifndef GLOBALVAR_H
#define GLOBALVAR_H

#include <iostream>
#include <windows.h>

struct Player {
    int x = 1, y = 1;
    int health = 100;
    int symbol = '@';
};

struct Goblin {
    int x, y;
    int health = 100;
    int symbol = 'G';
};

#endif

```

I also have a data structure in a header file for the screen that looks like this:

```
#ifndef SCREEN_H
#define SCREEN_H

#include <iostream>
#include <windows.h>

struct Screen {
    char screen[21][34] = {
        "#################################",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#...............................#",
        "#################################"
    };
};

#endif

```

Finally, I have the main and generate c++ files that look like this respectively:

```
// main 'hub' for game

#include <iostream>
#include <windows.h>

#include "screen.h"
#include "generate.h"
#include "globalVar.h"

using namespace std;

bool running = true;

int main() {
    struct Player p;
    struct Screen s;

    while(running) {

        system("cls");

        s.screen[p.y][p.x] = p.symbol;

        draw();

        p.health--;

        system("pause>nul");

    }

    return 0;
}

```

```
// generates the map and draws the screen

#include <iostream>
#include <windows.h>

#include "screen.h"
#include "globalVar.h"

using namespace std;

int generate() {

    return 0;
}

int draw() {
    struct Screen s;
    struct Player player;

    for(int i = 0; i < 20; i++) {
        cout << s.screen[i] << endl;
    }
    for(int i = 0; i < 1; i++) {
        cout << "HP: " << player.health << endl;
    }

    return 0;
}

```

When I run main.cpp I want it to display a '@' symbol at 1, 1 of the array. When I run the code it instead displays a period in the place of it. What is happening here?

Image of what's being displayed:
<https://imgur.com/a/RiWoDJ5>