Execution won't go past random line??
Hello,
I won't post my entire code because it is sufficiently long, but I was hoping somebody might have an idea as to why the following is happening:
Code:
if (state==3 && gpost<pID){
hd = err;
return hd;
}
printf("before HERE\n");
/* HERE */
printf("after HERE");
Fairly uninteresting piece of code, but without further explanation of what's going on, I have the problem that upon reaching the line with the comment "HERE" that I placed above, my program stops and then nothing happens. So I was just wondering if there's any general reason an error like this could occur?
Oh, and the return statement shouldn't have anything to do with it since the following printf (before HERE) gets printed.
Thanks.