#include <iostream>
#include <fstream>
using namespace std;
int main()
{
const int x = 17;
const int y = 12;
char Map[y][x];
ifstream MapF("Levels/Level00.txt");
if (!MapF)
{
cerr << "Error..." << endl;
exit(1);
}
int count = 0;
// Leer...
while (!MapF.eof())
{
MapF.getline( (char*) Map + count, x);
if (*((char*) Map + count) != '#')
count += x;
}
MapF.close();
// Imprimir...
for (int i = 0; i < y; i++)
{
for (int j = 0; j < x; j++)
{
cout << Map[i][j];
}
cout << endl;
}
return 0;
}