Report question

Question: Why does the C++ compiler give errors after lines instead of on them?