Link errors sometimes involve the linker options. Select Settings from the Project menu to display the Project Settings dialog box, then select the Link tab to see or change the linker options. Testing Program testing can only begin after the program has been successfully compiled and linked. With a runtime error the program begins running, but then crashes or gets stuck pursuing a never ending calculation. With a logic error , the program runs to completion, but simply produces the wrong answer.
Logic errors are the worst type of all.
The mistake is usually in the implementation or choice of algorithm. There are tricks for discovering the cause of a runtime error. Some programmers insert diagnostic messages in their programs so they can trace the flow of execution. Sometimes the diagnostic messages print the values of suspicious or strategic expressions. To do this, make sure the active configuration is set to Debug before you build.