ch 3 Flashcards
stream
sequence of characters from source to destination
stream member functions (stream functions)
I/O functions such as “get”
stream variables
either an input stream variable or an output stream variable
predefined functions
functions already defined in C++
parameterized stream manipulators
manipulators with parameters
output stream variables
variables of type “ostream”
output stream
sequence of characters from the computer to the output device
opening a file
associating a file stream with an input or output source
member access operator
dot operator in C++
“istream” member functions
functions that are associated with the data type “istream”
input stream variables
variables of the type “istream”
input stream
sequence of characters from an input device to the computer
input failure
situation in which program fails to compile, or yields incorrect results, because the input data does not match the corresponding variables in the program
function call
expression that transfers control from the main function to the first statement in the body of the function such as “pow(2,3)”
file stream variables
user defined variables including “ifstream” and “ofstream” used for input and output