#include <iostream>
#include <string>
#define ROWS 2
#define COLS 3
int main() {
// Create a 2D array of strings
std::string array[ROWS][COLS];
// Initialize the array with some values
array[0][0] = "aa";
array[0][1] = "bbb";
array[0][2] = "cccc";
array[1][0] = "ddddd";
array[1][1] = "eeeeee";
array[1][2] = "fffffff";
// Print the array
for (int i = 0; i < ROWS; ++i) {
for (int j = 0; j < COLS; ++j) {
std::cout << array[i][j] << " ";
}
std::cout << "\n";
}
}
/*
run:
aa bbb cccc
ddddd eeeeee fffffff
*/