Beruflich Dokumente
Kultur Dokumente
first
scope resolution
or
scope resolution operator
A(n)
member function in a
base class expects to be overridden in
a derived class.
virtual
A(n)
function has no body,
or definition, in the class in which it is
declared.
dynamic
overrides virtual
pure virtual
multiple inheritance
False
True
False
True
False
False
False
False
Static
A(n)
member function
cannot access any nonstatic member
variables in its own class.
static
A(n)
function is not a
member of a class, but has access to
the private members of the class.
friend
-----
memberwise assignment
_____
is a special built-in pointer
that is automatically passed as a
hidden argument to all nonstatic
member functions.
this pointer
or
this
False
True
True
True
False
False
False
True
____
programming is centered
around functions or procedures.
Procedural
is an object's ability to
.
contain and manipulate its own data.
Encapsulation
structure
or
struct
private
instance
or
instantiation
canine.h
inline
A(n)
is a member function
with the same name as the class.
constructor
return
A(n)
is a member function
that is automatically called when an
object is destroyed.
destructor
return
A(n)
may be used to pass
arguments to the constructors of
elements in an object array.
initialization list
True
True
False
True
False
False
False
True
True
True
False
The
file stream data type
is for output files, input files, or files
that perform both input and output.
fstream
cout
The
member function
reads a single character from a file.
get
Binary
The
member function
writes "raw" binary data to a file.
write
random
The
member function
moves a file's write position to a
specified byte in the file.
seekp
The
member function
returns a file's current write position.
tellp
The
mode flag causes an
offset to be calculated from the end of
a file.
ios::end
False
Flase
True
True
True
False
False
True
ofstream
datafile.open("info.txt", ios::in
ios::out);
#include <fstream>
error bits
random-access
struct
default constructor
dot operator
member variables
static
->
reference object
friend
inheritance
private
base, derived
this