I have to do some functions with these structs, but since Agenda has a vector of structs Contact and in each contact has another struct Data, how do I access the fields? Do I have to work each struct separately? Thanks in advance, follow the code.
typedef struct Data{
int dia,mes,ano;
}t_data;
typedef struct Contato{
char nome[40];
char fone[12];
int idade;
t_data dataNascimento;
}t_contato;
typedef struct Agenda{
t_contato contatos[200];
}t_agenda;