vector<vector<int>> mapVector(maxX, vector<int>(maxY));
char* mapBuffer = new char[mapString.size() + 1];
...
mapVector[i][j] = mapBuffer[y];
...
mapBuffer[i][j] contains the '#" symbol but after the "mapVector[i][j] = mapBuffer[y]"
mapVector[i][j] contans number "35". Why is it passing on the id instead of the symbol?