Glossary E

edit buffer

In MFC database classes, a buffer that contains the current record during an update. Update operations may use this buffer to manage changes to the data source.

edit control

Or edit box, text box. A rectangular control window that a user can use to type and edit text. See also static control.

EDITBIN

Or COFF Binary File Editor. The Microsoft 32-Bit binary file editor for modifying 32-bit Common Object File Format (COFF) binary files. Use EDITBIN to modify object files, executable files, and dynamic-link libraries (DLLs). You can also use EDITBIN to convert the format of an Object Model Format (OMF) input file to COFF.

embedded item

Or embedded object. A type of compound-document item in which all the information needed to manage the item is stored in the container document, but which is created and edited by a server application. Embedded items can be edited or activated in-place. See also linked item.

encapsulation

In object-oriented programming, the process of hiding the internal workings of a class to support or enforce abstraction. A class's interface, which is public, describes what a class can do, while the  implementation, which is private or protected, describes how it works.

encryption

The transformation of data into a form unintelligible to anyone without a secret decryption key and algorithm. Its purpose is to ensure privacy by keeping the information hidden from anyone for whom it is not intended.

end of file

A value returned by an I/O routine when the end of a file (or, in some cases, an error) is encountered. The iostream library function eof returns TRUE on the end-of-file condition. When a file is opened in text mode, a logical end of file occurs whenever a CTRL+Z character is encountered.

entry point

A starting address for a function, executable file, or dynamic-link library.

environment variable

A symbolic variable that represents an element of the user's operating system environment, such as a path, a directory name, or a configuration string. For example, the environment variable PATH represents the directories to search for executable files.

EOF

A value returned by an I/O routine when the end of a file (or, in some cases, an error) is encountered. The iostream library function eof returns TRUE on the end-of-file condition. When a file is opened in text mode, a logical end of file occurs whenever a CTRL+Z character is encountered.

epilog code

See prolog/epilog code sequence.

error message

A message from the system or a program advising the user of a problem that requires human intervention in order to be solved.

escape sequence

In C/C++, a character combination consisting of a backslash (\) followed by a letter or by a combination of digits. An escape sequence is regarded as a single character and is therefore valid as a character constant. Escape sequences are typically used to provide literal representations of nonprinting characters, such as the newline character (\n) and characters that have special meanings in the C/C++ language, such as the double quotation mark (\").

event

  1. In OLE, a notification message sent from one object to another (e.g. from a control to its container) in response to a state change or a user action.

  2. More generally, any action or occurrence, often generated by the user, to which a program might respond. Typical events include keystrokes, mouse movements, and button clicks.

event object

A synchronization object that allows one thread to notify another that an event has occurred. Event objects are useful when a thread needs to know when to perform its task. For example, a thread that copies data to a data archive would need to be notified when new data is available. By using an event object to notify the copy thread when new data is available, the thread can perform its task as soon as possible.

exception

An abnormal condition or error that occurs during the execution of a program and that requires the execution of software outside the normal flow of control. Examples of exceptions are running out of memory, resource allocation errors, and failure to find files. See also C++ exception handling, structured exception handling (SEH).

exception handler

A block of code that reacts to a specific type of exception. If the exception is for an error from which the program can recover, the program can resume executing after the exception handler has executed. In this case, execution will resume where the exception was handled, not at the place where it was generated.

executable file

A program file created from one or more source code files translated into machine code and linked together. The MS-DOS, Windows, and Windows NT operating systems use the .EXE filename extension to indicate that the file is a runnable program.

execution character set

The character set on the machine where the program executes. For Microsoft C and C++, the execution set is the standard ASCII character set. See also source character set.

explicit initializer

An initial value that is explicitly stated when a program variable is declared. In C++, a single initializer can be supplied with the simple-assignment (=) operator, as follows:

int nCount = 0;

or an initializer list can be supplied, enclosed in parentheses:

CString strFileName("FILE.DAT");
CRect *pRect = new CRect(10, 15, 24, 97);

explicit linking

The process in which an executable file must make function calls to load and unload a DLL and to access the DLL’s exported functions. The client executable must call the exported functions through a function pointer. Contrast with implicit linking.

exported function

One called by other executing entities, such as DLLs or executable files. Typically, a DLL will need to export functions to allow its clients to control it. Functions can be exported by using either a module-definition (.DEF) file or the __declspec (dllexport) storage-class modifier, a Microsoft-specific extension to the C language. This modifier ensures that other applications and dynamic-link libraries will be able to obtain, dynamically at runtime, the address of the variable or function to which it applies. See also imported function.

exports file

A file that contains information about exported functions and data items. The Microsoft 32-Bit Library Manager tool (LIB.EXE) generates the exports file from the module-definition (.DEF) file. The linker uses the exports file to build the dynamic-link library (.DLL) file. Exports files have a .EXP filename extension.

exposed interface

In C++, the public members of a class that are accessible to client code.

expression

A sequence of tokens that can be evaluated.

expression statement

An expression followed by a semicolon (;). All expressions in an expression statement are evaluated and all side effects are completed before the next statement is executed. The most common expression statements are assignments and function calls.

extended property

A run-time property, such as a control's position and size, that is exposed and managed by the container instead of by the control. The implementation of extended properties makes them indistinguishable from normal properties.

external linkage

Specifies the way the names of objects and functions are shared between translation units. With external linkage, names can refer to program elements in any translation unit in the program — the program element is shared among the translation units and the same name in another translation unit is guaranteed to refer to the same object or class. Names with external linkage are sometimes termed "global." The keyword extern before a name declaration ensures external linkage. See also internal linkage.

external name

  1. In OLE Automation, an identifier that a class exposes to other applications. Automation clients use the external name to request an object of this class from an automation server.

  2. In C/C++, an identifier declared with global scope or declared using the extern storage class.

extraction (>>) operator

Or get-from operator, input operator. In C++, the right-shift operator, overloaded (in the iostream library) to accept input. The left operand must be the predefined input stream cin and the right operand must be a variable. See also insertion (<<) operator.