我用隨機的方式產生0和1: for(j = 0; j < 5; j++){ for(i = 0; i < 49; i++){ x[j][i]= rand() % 2; // random粒子位置0and1 } } 之後我需要把所產生出的陣列 ...
www.blueshop.com.tw