Compile time errors - These are errors that violate the rules of the language. It makes sure the language rules and requirements are correctly entered. These are the first type of errors a programmer deals with. Although you will not feel like this at the beginning, these are the easiest to correct.
We are going to introduce errors in our program and see what the compiler tells us. If a program has compiler time errors, they will be listed. If more than one error is found, we are ONLY interested in the first error! Fix the first error and recompile.
By double clicking on the error the compiler will point out in the program where the compiler realized there was an error. It is NOT pointing at the line that has the error, it is point where it realized there was an error. Often it is pointing to the line with the error but not always.
Br Ca Ho LaN Law Mac McH McL Po Sm St Va Not Listed
Last Name :
Email : If you don't have an email address, use student@brentwoodhigh.com
Select one of the following that describes when and why you are filling out this form: This assignment is in on time. This assignment is in on time, being resubmitted due to a failed submission (I have a copy of the original submission). This assignment is a corrected submission for half the missed credit. This assignment is one day late and will lose 15%. This assignment is more than one day late (half credit at best). This assignment is late because of an EXCUSED absence. This assignment is being resubmitted at the request of the teacher.
Updated: Wednesday, January 13, 2010 11:38 AM
Always compile your code and make sure there are no errors before you introduce an error. You will copy and paste all error messages and tell what line the compiler is pointing at for the first error.
Remove the ; (line 4)
What line does the compiler point when clicking on the first error?
Fix the error, recompile, make sure the program is error free before introducing the next error.
Remove the ending brace } on line 6
Remove the ending parenthesis in line 2
Remove the beginning parenthesis in line 2
Remove the # in line 1