im teaching myself c ++ due to my teachers lack of teaching skill, he might get fired, but it wont happen for a while... so instead of allowing him to trash my future, i wanna learn it on my own. ok... with multi-dimensional arrays, i am trying to make a box.
this is how i do it but it requires about 30 for loops....
i am just wondering if this can be done in like 2 for loops instead of 20 for each row and column.
int main ()
int arraybox ; // defines array
for ( int i = 0; i < 20 ; i ++ )
cout<<arraybox[ i ] <<endl; //draws box out ONE row at a
for ( int j = 0; ij < 20 ; j ++ )
cout<<arraybox[j ] <<endl; //draws box out ONE row at a