Posts by Dumb • 23 points
5 posts
-
0
votes2
answers31
viewsQ: Error exited, Segmentation fault when adding a second element to my list
This error only occurs when I add a second element to my chained list, I know the problem is in the Else of the inse_contact function but I can’t identify it. #include <stdio.h>…
-
0
votes1
answer22
viewsQ: Unexpected exit on my variable!
# include <stdio.h> float calcula_media_ponderada(int N_1, int N_2, int Peso_1, int Peso_2) { float Media; Media = ((N_1 * Peso_1) + (N_2 * Peso_2)) / (Peso_1 + Peso_2); return Media; } int…
-
-1
votes1
answer36
viewsQ: Function does not modify the Matrix after the second call!
I’m making a small game, however, I need to call this function 3 times, in the first call of the function it performs as expected, however, in the second and third call it does not do what I expect.…
-
-2
votes1
answer178
viewsQ: Problem when deleting a number from a list!
After drawing a number from a list, I need to delete this number from my list. but the message "list index out of range" appears. My error is in the if line. or is there a better way to delete that…
-
0
votes1
answer155
viewsQ: Interaction between Threads in Python, error message " Object is not callable"?
I am doing the interaction of 4 Threads, but when running them at the same time appears the following message: Object is not callable That is, the object cannot be called. How to fix it? Follow the…