I have a list of numbers in a 2d array. I need a random number without repeating.
The number zero cannot be shuffle.
int **map;
int * list;
void randomize(){
for ( int x=0;x<Width;x++)
{
for( int y = 0; y < Height; y++)
{
map[x][y]=list[x*y];
//add code
}