int board[29];
char symbol[3]= {' ',','+'};
int j;
main() {
azzeraBoard;
stampaBoard;
void azzera_board{
for(j=1;j<29;j++) {
board[j]=0
}
void stampaBoard{
board[29]=
{0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,1,1,1,0,0,0,0,0,1,0,0,0}
for(j=1;j<29;j++){
printf("%c",simboliboard[i]);
}
}
}
Nessun commento:
Posta un commento