9 ifstream in(filename.c_str());
11 cout <<
"Problem with loading the file" << endl;
18 for(
int i=0;i<h;i++) {
20 for(
int j=0;j<w;j++) {
22 cout <<
"File end reached too soon" << endl;
26 row.push_back(current);
void loadMap(string filename)
Read in map file with given path to the file.