Using my code you could build your own around it:
Code:
#include <iostream>
#include <cstring>
using std::endl;
using std::cout;
//--
const unsigned ROWS = 7;
const unsigned COLS = 4;
static char seat[7][COLS+1] = {0}; //COLS+1 for terminating character.
//--
int main()
{
for(unsigned i = 0; i < ROWS; ++i)
{
std::strcpy(seat[i], "ABCD");
}
for(unsigned i = 0; i < ROWS; ++i)
{
cout<<seat[i]<<endl;
}
//Let's take seat at position [3,2]. Since indexes start at 0 we need to
//substract 1: position = [3-1][2-1].
seat[2][1] = 'X';
cout<<std::endl<<"After taking a seat:"<<endl<<endl;
for(unsigned i = 0; i < ROWS; ++i)
{
cout<<seat[i]<<endl;
}
return 0;
}