nick048 Guest
|
Posted: Sat Nov 18, 2006 10:10 am Post subject: Control in a vector |
|
|
Hi to all,
I have this construnct:
......................
char mat [DIM], [DIM]
...................
cout << "Enter the new element" << endl;
for (i=0; i<DIM; i++)
for (j=0; j<DIM; j++)
cin >> mat[i][j];
...............................
How can to control, in this construct, that each element is >= 'A' and
<= 'Z'?
Thank You and Best Regards
Gaetano |
|