Please enable JavaScript.
Coggle requires JavaScript to display documents.
Classes - Coggle Diagram
Classes
ARRAYS
TYPE var[count] = {x, x, x}
name of an array is also the pointer to the first value
name_of_array + i
to traverse thorugh element i
data encapsulation
private members
public members
constructors
initilizes variables and data members
you can have as many constructors as necessary, anda default one
copy constructor
initialize one object with the same properties of another
union
for saving memory
stores all members in the same memory space (the largest member amount)
defines the properties of an object
data abstraction
struct
for
records
destructors ("~class_name()" )
acces methods (interface for getting private values)
read
-only
methods with the
const
"flag"
this
pointer