Posts by João Pedro Zandoná • 43 points
3 posts
-
1
votes1
answer275
viewsQ: dynamic reallocation - struct array
I need to do an exercise where the code allocates the memory as needed, but I need to reallocate an array of struct, only I ended up locking in this part. My Struct is: typedef struct{ char…
-
1
votes1
answer68
viewsQ: Improvement and simplification of the Code
I’m in the first semester of college, and as a final project the teacher asked to make a hangman game, I already made my code but wanted to suggest improvements, or report future code problems.…
-
2
votes1
answer3943
viewsQ: How to compare vectors in C
Hi, I’d like to understand why my code doesn’t work. I’m trying to develop a forcible application and I can’t get the typed letter to be compared to the letter that’s in the vector, which I’m doing…