Content
If the compiler can detect there is a semicolon missing in line 42, then why just it can’t put a semicolon itself? CSS error javascript web C java code node.js 19th January 2020, 11:37 AM Ambitious Coder 5 Answers NEW ANSWER Sort by: Votes 4 Compilers’s errors or warning aren’t there for nothing. They are here to tell you that something went wrong on a specific line. Even if it knows what’s the mistake, it isn’t his job to correct it. Else, it would create even more errors, because it doesn’t know in which way you’ve implementing your solution. Imagine a compiler saying : ‘Error, print is not defined, did you mean printf’ then the compiler replace print with print. In fact, you really want to call a function named print, but you forgot including the right header. Then, all vour code is false and vou have to correct the compiler’s correction manuallv : that’s not worth!