Posts by Lucas Tovo • 1 point
4 posts
-
-1
votes2
answers60
viewsA: Simply Chained List in C - Do not compile correctly
in the remove_start function, I removed "free(nodo_aux);" and compiled correctly.
-
-1
votes2
answers60
viewsQ: Simply Chained List in C - Do not compile correctly
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <locale.h> typedef struct nodo Nodo; struct nodo{ int valor; Nodo *proximo; }; void cria_lista(Nodo…
-
0
votes1
answer185
viewsA: Problems with Two-Dimensional String Matrix
So I solved my own exercise. I did not do exactly what I asked in the initial question, n I used two-dimensional matrices, only string and pointer vectors returning a very satisfactory result for…
-
-2
votes1
answer185
viewsQ: Problems with Two-Dimensional String Matrix
My objective in this exercise is that in each loop to make a new snack order, the informed data be added in the final table (matrix[i][j]). In the second "for" is where I try to assign the variables…