Computer Science, asked by bigil2019, 6 months ago

Can you tell me the 15 errors in the code you just created?

Answers

Answered by PeepingMoon
136

Answer:

Well I do make errors but they’re usually so insignificant I don’t remember many of them. They’re usually of the type:

Missing semicolon

Copy and paste error

Forget to include a file (in C/C++)

Or as the current project on which I’m working is a PacMan clone game and in order to prevent PacMan and the ghosts from walking through walls, I am incorporating into the model a list of rectangles that signify the wall locations and when they’re walking forward, if the point to which they will go is inside any of the rectangles, they won’t move that frame. The error isn’t a build error so much as a runtime error as it takes trial and error to get the “walls” rectangle list correct.

Most errors I notice within 1–2 statements typed. This is partly due to the fact that the editor/IDE is watching too and underlining something if it’s not right. So I investigate it and fix it immediately.

Explanation:

HAVE A GREAT DAY

Answered by Maipagl
12
fajajakjsalapaishxysuajaj
Similar questions