Write a class using a two-dimensional dynamic array
问题 I have a homework assignment. I'm not looking for anyone to do the work for me, I'm just having trouble with one little aspect, although I'd accept advice on other bits as well. The assignment is: Write a class using a two-dimensional dynamic array. The constructor passes in the dimensions of the array. The constructor also intializes all values in the dynamic array to the row index multiplied by the column index. Swap two columns of the two-dimensional array, where the column indexes are