how to delete an element in multdimensional array??

any body who can help me to solve the script for delete an element in multidimensional array

this is my script but it can't work, pls fix it

cout<<"\n\nInput the element that you want to delete = ";
cin>>delete;
for(int i=0;i<row1-1;i++)
{
for(int j=0;j<column-1;j++)
{
a[i][j]=a[i-1][j-1];
}
}

cout<<"\nThe New Data";
for (int i=0;i<row1;i++)
{
for (int j=0;i<colomn1;j++)
{cout<<"\na["<<i<<"]["<<j<<"]="<<a[i][j];}
}



so pls fix it...need a.s.a.p
Topic archived. No new replies allowed.