Lecture overview -- Keyboard shortcut: 'u'  Previous page: The general notation of objects in C++ -- Keyboard shortcut: 'p'  Next page: C-style strings -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Basic facilities - slide 11 : 42

Lvalues

An object is "something in memory"

An lvalue is an expression that refers to an object

  var = 7;
  tab1[3] = 8;
  *(tab2 + 4) = 9;
  tab3[0].x = 2.0;