Posts by Luiz • 23 points
2 posts
-
0
votes1
answer178
viewsQ: Row function in C
I created the next queue: typedef struct No { int pos; char cpf[12]; char nome[40]; struct No *prox; } No; typedef struct No * p_no; typedef struct{ p_no ini, fim; } Fila; typedef Fila * p_fila; And…
-
1
votes1
answer32
viewsQ: Double-linked and circular list, memory errors with Valgrind
I have the following structures: typedef struct Node { char info[40]; struct Node *ant; struct Node *prox; }NoCDup; typedef struct LDEC { NoCDup *cabeca; NoCDup *cauda; int tamanho; }ListaCDup; And…