+ 3
How to easily find the error's & solved it?
2 Respostas
+ 2
it takes a bit but the error messages are your friend generally they point you to the location that the compiler doesnt like, but be warned their are times when you do something the compiler just completely doesnt understand and points you in the wrong direction, my advice is write a small program that works and then start messing it up so you can see what errors occur, lose a semicolon, delete a parentheses sign, type your variable name different than it should be, forget a keyword in a definition, this will help you learn the exceptions in a controlled manner.
then there are also bugs which are harder to track down, only thorough testing and using a debugger. a bug is when your program runs but inaccurate data is displayed so for example you type
x=5
y=7
x+y
outputs ten for some reason.
0
ooo😮