User Profile
Collapse
-
You are my hero! Now, why didn't I think about that earlier? Thank you soooooo much :-*... -
I am turmented :(
Solved the problem you told me, but another one emerged.
pk is the counter for the array of structs mentioned above.
After 3, usually 5 or 6 good readings, parsing and stores into my array, the pk doesn't increment no more and it simply comes back to one.
I'm sending it's value to the parse_cmd function, which also sends it's value to the spawn function, both together with the...Leave a comment:
-
Peculiar behaviour of fgets... I think
I'm having trouble with a code for a few days now. I've tried all sorts of alternatives to find out where does it come from, changed the data structure to try anything new, but nothing comes out well.
Basically I'm readin lines form a simulated console, I store data into an array of struct and then I'm trying to simply display them, in order to reassure myself they're correctly stored. The results are really frustrating, as it seems...
No activity results to display
Show More
Leave a comment: