Hi, I've got a nasty problem that's been bugging me for almost a week now. I will start off with a general question because I have the feeling it can be solved that way;
Has anyone of you had the problem that a program crashed on the return line of a function? If so, what did you do to solve it?
It comes down to this:
Code:
puts("\n Stopped!");
getch();
return 0;
^ the end of the function GoLive.
And:
Code:
GoLive(br_cnt, "\0", -1);
puts("Returned?");
^ calling the function
Now "Stopped!" is printed on the screen, but "Returned?" isn't....
Any ideas? I've checked and rechecked, but I can't find anything wrong.
Thanks very much in advance,
René