3 ms·
When I did more C++ i found it weirdly satisfying to get a few hundred or thousands of errors during build and then fixing all of them with only a few changes.
by Ididntdothis 7y ago
When I did more C++ i found it weirdly satisfying to get a few hundred or thousands of errors during build and then fixing all of them with only a few changes.
- noncoml 7y agoWhen I was in college people would come to me to help them with their C++ compilation errors. My secret? Most of them would start trying to fix the reported errors bottom up. I would start top down and be done with probably one missing semicolon or something simple as that.
- Ididntdothis 7y agoGoing top down seems to be the secret. I do mainly C# now but even there a lot of people get confused by looking at the last error on the screen. I always only look at the first error and deal with that before looking at anything else.
- mikelward 7y agoI wish tools defaulted to only showing the first error.
- cmroanirgo 7y agoIn my experience, having a list to work through is much faster to remedy than fixing one bug at a time, and then recompiling for the next bug. VB drove me nuts for this simple reason.
- Ididntdothis 7y agoAgreed. Maybe errors should get displayed in reverse order so you can work your way up through the console window.
- persistent 7y agoIf you have thousands of errors it is likely you simply misplaced a comma or semicolon. If you have just one error you are in deep trouble.