//输出图片 for (int r = 0; r < 3; r++) { for (int c = 0; c < 3; c++) { if(map[r][c]) putimage(offsetX + c * (48 + INTERVAL), offsetY + r * (48 + INTERVAL), img_item + (map[r][c]-1)); } } //绘制下面 for (int i = 0; i < 7; i++) { if (st...
map[r][c] = r+1; //1 2 3 } } //打乱数组 for (int r = 0; r < 3; r++) { for (int c = 0; c < 3; c++) { int r1 = rand() % 3; int c1 = rand() % 3; int t = map[r1][c1]; map[r1][c1] = map[r][c]; map[r][c] = t; } } int store[7] = {...