-
Polymorphism (def'n)
providing a single interface to entities of different types.
-
Encapsulation (def'n):
The enforcement of abstraction by mechanisms that prevent access to implementation details of an object or a group of objects except through a well-defined interface.
-
Inheritance (def'n)
When a derived class is said to inherit or include the members of its base classes; it is the base class plus more.
-
Function Overriding (def'n).
Declaring a function in a derived class with the same name and a matching type as a virtual function in a base class.
-
Function Overloading (def'n)
Having more than one function with the same name in the same scope or having more than one operator with the same name in the same scope.
-
Abstract Class (def'n)
A class defining an interface only; used as a base class.
-
Argument (def'n)
A a value passed to a function or a template.
-
Virtual Constructor(def'n)
The name of a technique for calling a virtual function to create an object of an appropriate type
-
Virtual Member Function (def'n)
A member function that a derived class can override;the primary mechanism for run-time polymorphism in C++.
-
Invariant (def'n)
A condition of the representation of an object (the object's state) that should hold each time an interface function is called;usually established by a constructor.
-
iostream (def'n)
A (1) standard library flexible, extensible, type-safe input and output framework, or (2) stream that can be used for both input and output.
-
Preprocessor (def'n)
The part of a C++ implementation that removes comments, performs macro substitution and #includes.
-
If-statement (def'n)
Statement selecting between two alternatives based on a condition.
-
ifstream (def'n)
A file stream for input.
-
ofstream (def'n)
A file stream for output.
-
operator delete() (def'n)
deallocation function used by delete#.
-
One Definition Rule (def'n)
There must be exactly one definition of each entity in a program.
-
operator new() (def'n)
allocation function used by new--possibly defined by user.
-
malloc() (def'n)
C standard allocation function. Use new or vector instead.
-
Loop (def'n)
A statement that expresses the notion of doing something zero or more times.
-
Liskov Substitution Principle (def'n)
Designing classes so that any derived class will be acceptable where its base class is.
-
Macros (def'n)
A facility for character substitution which doesn't obey C++ scope or type rules; don't use them unless you absolutely have to.
-
Container (def'n)
Object that holds other objects -- this includes standard library template such as vector, list, and map.
-
Vector (def'n)
The standard library template providing contiguous storage, re-sizing and the useful push_back() functions for adding elements at the end.Vector is the default container.
-
Map (def'n)
The standard library associative container, based on "less than" ordering.
-
While loop (def'n)
A loop statement presenting its condition "at the top".
-
void * (def'n)
A pointer to void; that is, a pointer to an object of unknown type; this cannot be used or assigned without a cast.
-
Virtual-function table (def'n)
A table of all virtual functions for a class.
-
Expression (def'n)
A combination of operators and names producing a value.
-
Statement (def'n)
The basic unit controlling the execution flow in a function.
-
Static Member (def'n)
Member of a class for which there is only one copy for the whole program, rather than one per object.
-
static keyword (def'n)
A keyword used to declare a class member to be declared as allocated in static memory.for a member function, this implies that there is no this pointer.
-
Static memory (def'n)
Memory allocated by the linker.
-
Standard Template Library (def'n)
This is a library created by Alex Stepanov, which became the basis for the containers, algorithms, and iterators part of the ISO C++ standard library.
-
strcmp() (def'n)
a C-style standard library function for comparing C-style strings.
-
stringstream (def'n)
A string stream for input and output.
-
void keyword (def'n)
A keyword used to indicate an absence of information.
-
volatile keyword (def'n)
An attribute of a declaration telling the compiler that an entity can have its value changed by extralinguistic means.
-
Virtual base (def'n)
a base that is shared by all classes in a class hierarchy that has declared it virtual.
-
Class keyword (def'n)
a user-defined type. It can have member functions, member data, member constants, and member types.
-
Member function (def'n)
A function declared in the scope of a class.
-
Data member (or member data) (def'n)
member of a class that can hold a value.
-
Destructor (def'n)
A member of a class used to clean up before deleting an object.
-
object (def'n 1 of 2)
A contiguous region of memory holding a value of some type.
-
object (def'n 2 of 2)
named or unnamed variable of some type;
-
multimap (def'n)
map that allows multiple values for a key.
-
header file (def'n)
A file holding declarations used in more than one translation unit.
-
translation unit (def'n)
a part of a program that can be separately compiled.
-
try-block (def'n)
A block, prefixed by the keyword try, specifying handlers for exceptions.
-
.c or .cpp file (def'n)
A file containing definitions (or implementations).
-
Access control (def'n)
access to bases and members of a class can be controlled by declaring them public, protected, or private.
-
protected (member) keyword (def'n)
A member accessible only from classes derived from its class.
-
public (member) keyword (def'n)
A member accessible to all users of a class.
-
priority_queue (def'n)
Standard library container where a priority determines the order in which an element reaches the head of the queue.
-
static_cast (def'n)
A type conversion operation that converts between related types,such as pointer types within a class hierarchy and between enumerations and integral types.
-
dynamic_cast (def'n)
A type conversion operation that performs safe conversions using on run time type information.Used for navigation of a class hierarchy.
-
run time type information (or RTTI) (def'n)
Information about a type available at run time through operations on an object of that type.
-
template (def'n)
A class or function parameterized by a set of types, values, or templates.
-
this keyword (def'n)
pointer to the object for which a non-static member function is called.
-
pointer (def'n)
An object holding an address or 0.
|
|