I am writing the marble game where players choose a color and if they are correct the marble(array in the matrix) is removed. Each marble has twenty possible colors in it chosen at random with a random number generator.
The sample code above does not work to remove an array from the dynamically allocated two dimensional array called "sphere".
How do I delete a row(array) from a two dimensional matrix??