Gnes
Smash Master
#include<iostream>
using namespace std;
const int SIZE=10;
struct Coordinate
{
int X;
int Y;
};
struct Player
{
char name[50];
int steps;
Coordinate location;
};
void GameSetup(Player& player, Coordinate& winPosition, bool tiles[SIZE][SIZE]);
void PrintTiles();
int main()
{
bool tiles[SIZE][SIZE];
GameSetup(); <--------------------------------------------Problem Here
PrintTiles();
system("PAUSE");
return 0;
}
Basically i dont know what to put there. Im trying to create a maze. The function definition which has the maze is given to us so basically i just dont know what to put there. Help.
using namespace std;
const int SIZE=10;
struct Coordinate
{
int X;
int Y;
};
struct Player
{
char name[50];
int steps;
Coordinate location;
};
void GameSetup(Player& player, Coordinate& winPosition, bool tiles[SIZE][SIZE]);
void PrintTiles();
int main()
{
bool tiles[SIZE][SIZE];
GameSetup(); <--------------------------------------------Problem Here
PrintTiles();
system("PAUSE");
return 0;
}
Basically i dont know what to put there. Im trying to create a maze. The function definition which has the maze is given to us so basically i just dont know what to put there. Help.