Self-Review Exercises


Fill in the blanks in each of the following statements:

  1. A breakpoint cannot be set at a(n)___________.
  2. You can examine the value of an expression by using the debugger's ___________ command.
  3. You can modify the value of a variable by using the debugger's ___________ command.
  4. During debugging, the ___________ command executes the remaining statements in the current function and returns program control to the place where the function was called.
  5. The debugger's ___________ command behaves like the step command when the next statement to execute does not contain a function call.
  6. The watch debugger command allows you to view all changes to a(n)___________.

State whether each of the following is true or false. If false, explain why.

  1. When program execution suspends at a breakpoint, the next statement to be executed is the statement after the breakpoint.
  2. Watches can be removed using the debugger's remove command.
  3. The -g compiler option must be used when compiling programs for debugging.

Introduction to Computers, the Internet and World Wide Web

Introduction to C++ Programming

Introduction to Classes and Objects

Control Statements: Part 1

Control Statements: Part 2

Functions and an Introduction to Recursion

Arrays and Vectors

Pointers and Pointer-Based Strings

Classes: A Deeper Look, Part 1

Classes: A Deeper Look, Part 2

Operator Overloading; String and Array Objects

Object-Oriented Programming: Inheritance

Object-Oriented Programming: Polymorphism


Stream Input/Output

Exception Handling

File Processing

Class string and String Stream Processing

Web Programming

Searching and Sorting

Data Structures

Bits, Characters, C-Strings and structs

Standard Template Library (STL)

Other Topics

Appendix A. Operator Precedence and Associativity Chart

Appendix B. ASCII Character Set

Appendix C. Fundamental Types

Appendix D. Number Systems

Appendix E. C Legacy Code Topics

Appendix F. Preprocessor

Appendix G. ATM Case Study Code

Appendix H. UML 2: Additional Diagram Types

Appendix I. C++ Internet and Web Resources

Appendix J. Introduction to XHTML

Appendix K. XHTML Special Characters

Appendix L. Using the Visual Studio .NET Debugger

Appendix M. Using the GNU C++ Debugger


show all menu

C++ How to Program
C++ How to Program (5th Edition)
ISBN: 0131857576
EAN: 2147483647
Year: 2004
Pages: 627
Similar book on Amazon © 2008-2017.
If you may any questions please contact us: