No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
How do you manage threads? are just you triggering and then joining them? This link may help: [URL="http://www.cs.cf.ac.uk/Dave/C/node29.html"]http://www.cs.cf.ac.uk/Dave/C/node29.html[/URL] i also work with threads, my matter is that threads needs to be concurrent (and they share information between them), just like small daemons inside the process. Good luck!
Well, i think you are increasing your problem a lot, remember that a struct look in the "computer way" is just like an array, or a matrx, "a conjunt of bytes", so, you may use fread to retrieve all data from your file: fread(&myStructInstance, sizeof(MyStruct), totalElements, myFilePtr); no matter how …
Sounds like an "existential matter" instead of a programming issue... the correct approach of a for loop is "when you know how may iterations you have to do" this is, if you're going to repeat the piece of code just 10 times, use a for the approach of a while …
In practice, i saw always is better to pass the pointer as a self-reference, since the pointer data is volatile (and may reference different memory allocations at different time), so, the only constant is the memory allocation of the pointer, that saved me a lot of debugging hours (and spend …
Maybe my question is odd, or maybe already answered, but i didn't knew another way of searching a solution (the title i selected may get an idea of how weird is it) Its quite simple, i'm creating an application that has a command prompt, this is, like ms-dos the C:\>_ …
The End.
InfernalDrake