here's how i write my code of trying to construct a struct of array but ... hmmmm =,=lll
errors basically @_@ this shows tat i weak on STRUCT ~~~ teach me pls! i always fail on making struct....
Code:#include <stdio.h> #define ROW 3 #define COL 3 typedef struct { int arr[3][3]; }board; main() { int x, y; for (x=0; x<ROW;x++) { for (y=0;y<COL;y++) { printf(" %"); } } //trying to set the array of position [0][0] to '#'; board arr[x][y] = board.arr[0][0] = '#'; }