D

Data are the pieces of information that are operated on by programs. The singular of "data" is "datum"; however, the word "data" is commonly used as both singular and plural.

A debugger is a program that controls the execution of another program, so that you can see what the latter program is doing. The CD@nbhyphen()ROM in the back of this book contains the gdb debugger, which works with the djgpp compiler on the CD@nbhyphen()ROM.

A dedicated register is a register such as the stack pointer whose usage is predefined, rather than being determined by the programmer as with general registers such as eax.

A default constructor is a member function that is used to create an object when no initial value is specified for that object. For example, string::string() is the default constructor for the string class.

The delete operator is used to free memory that was previously used for variables of the dynamic storage class. This allows the memory no longer needed for those variables to be reused for other variables.

A destructor is a member function that cleans up when an object expires; for an object of the auto storage class, the destructor is called automatically at the end of the function where that object is defined.

A double is a type of floating-point variable that can represent a range of positive and negative numbers of magnitude from approximately 4.940656e-324 to approximately 1.79769e+308 (and 0), with approximately 16 digits of precision.

The dynamic storage class is used for variables whose size is not known until run time. Variables of this storage class are assigned memory addresses at the programmer's explicit request.

Dynamic type checking refers to the practice of checking the correct usage of variables of different types during execution of a program rather than during compilation; see the type system entry for further discussion.


To return to the main glossary page, click here