Terms from Chapter 3: Arithmetic Expressions,
Function Calls, and Output.
implicit type coercion
Automatic conversion of a value from one
data type to another.
explicit type coercion (a.k.a. a "type casting")
The purposeful conversion of a value from
one data type to another by the programmer.
prototype (C++)
A listing of a subroutine heading, indicating
the name of the subroutine, the type of value returned (if it is
a function), and its parameters (listed
in order by type, but not necessarily named), placed at the top of a
module to give the compiler information
so that when it comes across the invocation of a subroutine in the module,
it can check to see if it is being used properly.
subroutine
A named set of instructions which may
be called (invoked) to perform a well-defined task.
procedure
A subroutine whose invocation stands alone
as an instruction; returns 0 or more values via specially
designated parameters.
function
A subroutine whose invocation is used
in an expression; returns a single value.
invocation of a subroutine
The mechanism that transfers control to
the subroutine. The point in a program at which a subroutine is "called"
to do its job.
parameter list (argument list)
A mechanism by which subroutines communicate
with each other. (Details coming soon...)
library routine
A function or procedure which is available
in a library of routines supplied by the particular programming language
which is being used.
include directive
(C++) For the preprocessor. Indicates
the libraries in which reside one or more functions and/or
procedures used in the module. Other languages
have similar directives.
"void function"
C++ term which refers to a procedure.
output manipulator
Gives programmer control over the format
of output.
precision
The maximum number of significant digits
in a numeric value.