#include <array>
#include <iostream>
int main()
{
std::array<std::array < char, 3>, 3> table = { {
{ '-','-','-', },
{ '-','-','-', },
{ '-','-','-', },
} };
for(int firstCounter = 0; firstCounter < table.size(); firstCounter++) {
for(int secondCounter = 0; secondCounter < table[firstCounter].size();
secondCounter++) {
std::cout << table[firstCounter][secondCounter];
}
std::cout << std::endl;
}
}
Comments