Quote Originally Posted by yann View Post
OK, but still I have the same problem)=.
This is where those "printf" statements come in handy for debugging:
Code:
printf("\npn=\"%s\"\n"),pn);   fflush(stdout);
put that at the beginning of the loop so you can see what's happening.