Lecture 2 - Slide 9 : 29
The general notation of objects in C++
Objects in C++ have a generalized meaning compared to many other object-oriented programming languages
An
object
is "something in memory"
The C++ Prog. Lang. (3. edition)
:
Page 84
The C++ Prog. Lang. (4. edition)
: Page 165-166
The low-level notation of a C++ object
Something in memory
- a contiguous region of storage
A variabele
An array
A struct
An
instance of a class
is object in both the
low-level meaning
, and in the well-established
OOP meaning
of the word
Objects - instances of classes