Posts by ECuriosity • 45 points
3 posts
- 
		1 votes0 answers60 viewsQ: Theoretical Question - Blocked Thread ClosesWhat can happen in terms of failures when a thread which is blocked, made I/O or is in a mutex for example, is closed? I can only find practical questions of how to close one thread blocked.… 
- 
		1 votes1 answer3898 viewsQ: C file manipulation (skip lines)Hello, I’m having a problem to skip lines in a file, I use fgets(), but it always prints the first line of my file. I also did some tests, and for some reason, there is only one iteration and x… 
- 
		2 votes1 answer623 viewsQ: Decomposition into primesHello folks I’m learning C++ for Data Structure subject and there is some error in the code that is creating an infinite loop. #include <stdio.h> int fatores(int a[], int n, int *x) { int…