Basically when hello.txt doesn't exist it does what its supposed to, however when hello.txt does exist, the program freezes- I mean i know its supposed to wait for hello.txt to be created, but in this case it doesn't respond if i create hello.txt after, nor does it print out the printf that's the first line of code. I've no idea why it does this- help?
[code]#include #include #include #include
int main (void)
while (terminate != 1)