Quantcast
Channel: ¿Cómo usar las estructuras anidadas con punteros C? - Stack Overflow en español
Viewing all articles
Browse latest Browse all 3

¿Cómo usar las estructuras anidadas con punteros C?

0
0

Tengo esta estructura principal

struct materias{    char nombre[30];    char profesor[30];    char tipoDeMateria[20];    char horasSemanales[10];    struct actividades *actividad;    struct fechasEspeciales *fechas;    struct materias *siguiente;};

y esta otra estructura

struct fechasEspeciales{    char tipo[30];    int dia;    int mes;    char horaDeIncio[8];    char horaDeFin[8];    struct fechasEspeciales *siguiente;};  

¿Cómo hago para hacer el llamado a la segunda estructura para que quede registrado cada fecha especial por materia?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images