src/main.cpp
// Simply prints the world out. 
Simply prints the world out.
Simply prints the world out .
void printWorld(std::string world[][MAX_COLUMNS], int rows, int columns) {
    for (size_t x = 0; x < rows; x++) {
        auto& row = world[x];
        for (size_t y = 0; y < columns; y++) {
            std::cout << row[y] + " ";
        }
        std::cout << std::endl;
    }
}
void printWorld ( std :: string world [ ] [ MAX_COLUMNS ] , int rows , int columns ) { for ( size_t x = 0 ; x < rows ; x ++ ) { auto & row = world [ x ] ; for ( size_t y = 0 ; y < columns ; y ++ ) { std :: cout << row [ y ] + " " ; } std :: cout << std :: endl ; } }
Simply prints the world out.
Simply prints the world out .