Well, I'm using code block. When I click the build button the log says " 0 errors, 0 warnings". However, when I click the run button, an error report pops up. I tried it in Dev C the same thing happened. What can possibly go wrong?
Well, I'm using code block. When I click the build button the log says " 0 errors, 0 warnings". However, when I click the run button, an error report pops up. I tried it in Dev C the same thing happened. What can possibly go wrong?
The valuable lesson of the day that you just learned is: "Just because it compiles, doesn't mean it is error free!"
Quzah.
Hope is the first step on the road to disappointment.
As Quzah said there... "Compiles" absolutely does not mean "Works".
Runtime errors are the bane of a programmer's existence.
Lots can go wrong during running. Accessing a memory area that's not yours. Dividing by zero. Other mathematical overflows or domain errors for trig and other functions. Attempting to open a file using an improper file name and not checking error codes such as if file does not exist. Failure to write due to destination is full or inaccessible (write permissions, user authorization permissions). All that sort of stuff.