Characters Matrix
<p>What is that a characters matrix? Can you give me a code for such a matrix?</p>

<pre><code>void citire_linii_si_coloane_pentru_o_matrice()
{
    int A[10][10], line, column, i, j;
    cout&lt;&lt;"Number of lines: ";
    cin&gt;&gt;linie;
    cout&lt;&lt;"Number of columns: ";
    cin&gt;&gt;coloana;
    if((line&lt;=10) &amp; (column&lt;=10))
    {
        for(i=0;i&lt;line;i++)
        {
                for(j=0;j&lt;column;j++)
            {
                cout&lt;&lt;"A["&lt;&lt;i&lt;&lt;"]["&lt;&lt;j&lt;&lt;"]=";
                cin&gt;&gt;A[i][j];
            }
        }
    }
  }
 } 
</code></pre>

<p>That's my code for reading a matrix but it doesn't work for a matrix that cotains characters like A,B,C etc. and it doesn't work if I modify char A[10][10]. Can anyone give me the code for a characters matrix or just modify my code for that matrix?</p>
