Common Programming Errors & Solutions
Common Programming Errors & Solutions
After clicking on Make All look at the O/P window if it shows you Process Exit Code: 0, then your
program is error-free else read the error message and do the necessary corrections. If you are not sure which
line contains an error then click on the error message - your cursor will automatically move over to that line
and then you can make the necessary changes in order to eliminate the error. After all the errors are
corrected, one can directly save the file by just clicking on Make All. Some of the common errors are
mentioned below:
Solution:
For this kind of error messages check the spelling of the header file name, go to the current folder & check
whether your header file is included in it or not - if it is not present, then copy it from the header folder &
paste it inside your current folder.
Solution:
For this kind of error messages, check the current folder and make sure that it contains the Makefile (a
18kb file), if not then copy it from any other program folder and paste it inside your current folder.
Solution:
For these kinds of error messages, check the current folder and make sure that it contains the other
included header files like here delay.h, if not then copy the missing header files from any other program folder
or the header folder and paste the same inside your current folder.
7. Error due to
;:
Look there is no
error written
over here but it
contains error
Notes:
1. Warnings can be neglected, i.e., if your program output contains some warnings then it will not
create any problems in generating the .hex file.
2. Process Exit Code of individuals should be 0 in order to make the program error-free but the Time
Taken may vary from computer to computer; it will not create any problems.
3. All other possible errors may be due to reasons like the use of
statements.
4. Errors can also occur due to unequal number of opening and closing brackets,
{}.
5. There may also be L-Value errors, i.e., storing characters using an integer variable.