Why is it that when I compile syntactically correct code for the first time(right after I open the compiler) the compiler says it has 0 errors, but every subsequent time the compiler says there is a linking error? Currently, I resolve this by closing the file and my compiler and then reopening each of them. It becomes a hassle to do this every time. What is the best way to approach this?