3.2 — The debugging process

Let’s say you’ve written a program, and it’s not working correctly — the code compiles fine, but when you run it, you’re getting an incorrect result. You must have a semantic error somewhere. How can you find it? If you’ve been following best practices by writing a little bit of …

0.11 — Configuring your compiler: Warning and error levels

When you write your programs, the compiler will check to ensure you’ve followed the rules of the C++ language (assuming you’ve turned off compiler extensions, as per lesson ). If you have done something that definitively violates the rules of the language, the compiler is required to emit a diagnostic …