L.1. Introduction

In Chapter 2, you learned that there are two types of errorscompilation errors and logic errorsand you learned how to eliminate compilation errors from your code. Logic errors (also called bugs) do not prevent a program from compiling successfully, but do cause the program to produce erroneous results when it runs. Most C++ compiler vendors provide software called a debugger, which allows you to monitor the execution of your programs to locate and remove logic errors. The debugger will be one of your most important program development tools. This appendix demonstrates key features of the Visual Studio .NET debugger. Chapter M discusses the features and capabilities of the GNU C++ debugger. We provide several free Dive Into™ Series publications to help students and instructors familiarize themselves with the debuggers provided with various other development tools. These publications are available on the CD that accompanies the text and can be downloaded from www.deitel.com/books/downloads.

Категории