I\'m having trouble on this... I have this header:
#ifndef PESSOA_H #define PESSOA_H typedef struct pa{ int idade; int atend; }pessoa; void inicPessoa
You have no type called struct pessoa. You have struct pa, and you have pessoa (a typedef).
struct pessoa
struct pa
pessoa
So you need to change this:
typedef struct pessoa elem_t;
into one of:
typedef struct pa elem_t; typedef pessoa elem_t;