i want to manually initialize an array where each element of the array has 4 data fields.
class sudo{
int num;
int row;
int column;
int box;
};
int main(){
example: sudo board[9][9] = ??
what is the syntax for initializing each element? I was thinking board.num or something but that isn't right. and i can't find any examples of manually initializing an array in my books.
basically i want to know when I call up any given element of the array (board[i][j]) how do i access the 4 different elements?