List of Figures

  1. Survey of Programming Techniques; unstructured, procedural, modular, and object-oriented programming.
  2. Creating a structure, setting its members and printing the structure (part 1 of 2).
  3. Creating a structure, setting its members and printing the structure (part 2 of 2).
  4. Time abstract data type implementation as a class, (part 1 of 3).
  5. Time abstract data type implementation as a class, (part 2 of 3).
  6. Time abstract data type implementation as a class, (part 3 of 3).
  7. Demonstrating the class member access operators$ .$ and $ ->$
  8. Time class definition
  9. Time class member-function definitions (part 1 of 2).
  10. Time class member-function definitions (part 2 of 2).
  11. Program to test class Time.
  12. private members of a class are not accessible outside the class.
  13. SalesPerson class definition
  14. SalesPerson class member-function definitions (part 1 of 2)
  15. SalesPerson class member-function definitions (part 2 of 2)
  16. Utility function demonstration
  17. Time class containing a constructor with default arguments.
  18. Time class member-function definitions including a constructor that takes arguments. (part 1 of 2)
  19. Time class member-function definitions including a constructor that takes arguments. (part 2 of 2)
  20. Constructor with default arguments. (part 1 of 2)
  21. Constructor with default arguments. (part 2 of 2)
  22. CreateAndDestroy class definition.
  23. CreateAndDestroy class member-function definitions.
  24. Order in which constructors and destructors are called. (part 1 of 2)
  25. Order in which constructors and destructors are called. (part 2 of 2)
  26. Time class definition with set and get functions.
  27. Time class member-function definitions,including set and get functions. (part 1 of 2)
  28. Time class member-function definitions,including set and get functions. (part 2 of 2)
  29. Set and get functions manipulating an object's private data. (part 1 of 2)
  30. Set and get functions manipulating an object's private data. (part 2 of 2)
  31. Default memberwise assignment. (part 1 of 2)
  32. Default memberwise assignment. (part 2 of 2)
  33. Time class definition with const member functions.
  34. Time class member-function definitions, including const member functions. (part 1 of 2)
  35. Time class member-function definitions, including const member functions. (part 2 of 2)
  36. const objects and const member functions.
  37. Member initializer used to initialize a constant of a built-in data type. (part 1 of 2)
  38. Member initializer used to initialize a constant of a built-in data type. (part 2 of 2)
  39. Erroneous attempt to initialize a constant of a built-in data type by assignment. (part 1 of 2)
  40. Erroneous attempt to initialize a constant of a built-in data type by assignment. (part 2 of 2)
  41. Date class definition.
  42. Date class member-function definitions. (part 1 of 2)
  43. Date class member-function definitions. (part 2 of 2)
  44. Employee class definition showing composition.
  45. Employee class member-function definitions,including constructor with a member-initializer list.
  46. Member-object initializers.
  47. Friends can access private members of the class.
  48. Nonfriend/nonmember functions cannot access private members. (part 1 of 2)
  49. Nonfriend/nonmember functions cannot access private members. (part 2 of 2)
  50. this pointer implicitly and explicitly used to access an object's members. (part 1 of 2)
  51. this pointer implicitly and explicitly used to access an object's members. (part 2 of 2)
  52. Time class definition modified to enable cascaded member-function calls.
  53. Time class member-function definitions modified to enable cascaded member-function calls. (part 1 of 3)
  54. Time class member-function definitions modified to enable cascaded member-function calls. (part 2 of 3)
  55. Time class member-function definitions modified to enable cascaded member-function calls. (part 3 of 3)
  56. Cascading member-function calls.
  57. Employee class definition with a static data member to track the number Employee objects in memory.
  58. Employee class member-function definitions. (part 1 of 2)
  59. Employee class member-function definitions. (part 2 of 2) and static data member tracking the number of objects of a class. (part 1 of 2)
  60. static data member tracking the number of objects of a class. (part 2 of 2)
  61. Implementation class definition.
  62. Interface class definition.
  63. Interface class member-function definitions and Implementing a proxy class.
  64. Overloaded stream-insertion and stream extraction operators. (part 1 of 2)
  65. Overloaded stream-insertion and stream extraction operators. (part 2 of 2)
  66. Array class definition with overloaded operators.
  67. Array class member-and friend-function definitions. (part 1 of 4)
  68. Array class member-and friend-function definitions. (part 2 of 4)
  69. Array class member-and friend-function definitions. (part 3 of 4)
  70. Overloaded stream-insertion and stream extraction operators. (part 4 of 2)
  71. Array class test program. (part 1 of 2)
  72. Array class test program. (part 2 of 2)
  73. Array class test program, output. (part 1 of 2)
  74. Array class test program, output. (part 2 of 2)
  75. String class definition with operator overloading. (part 1 of 2)
  76. String class definition with operator overloading. (part 2 of 2)
  77. String class member-function and friend-function definition. (part 1 of 4)
  78. String class member-function and friend-function definition. (part 2 of 4)
  79. String class member-function and friend-function definition. (part 3 of 4)
  80. String class member-function and friend-function definition. (part 4 of 4)
  81. String class test program. (part 1 of 2)
  82. String class test program. (part 2 of 2)
  83. String class test program, output. (part 1 of 2)
  84. String class test program, output. (part 2 of 2)
  85. Date class definition with overloaded increment operator.
  86. Date class member-and friend-function definition. (part 1 of 3)
  87. Date class member-and friend-function definition. (part 2 of 3)
  88. Date class member-and friend-function definition. (part 3 of 3)
  89. Date class test program.
  90. Date class test program, output.
  91. Standart library class string (part 1 of 2).
  92. Standart library class string (part 2 of 2).
  93. Standart library class string, output.
  94. Standart library class vector. (part 1 of 3)
  95. Standart library class vector. (part 2 of 3)
  96. Standart library class vector. (part 3 of 3)
  97. Standart library class vector, output.
  98. Inheritance examples
  99. Inheritance hierarchy for university CommunityMembers and Inheritance hierarchy for Shapes
  100. Point class header file
  101. Point class represents an xy-coordinate pair. (part 1 of 2)
  102. Point class represents an xy-coordinate pair. (part 2 of 2)
  103. Point class test program.
  104. Circle class contains an xy-coordinate pair and a radius. (part 1 of 2)
  105. Circle class contains an xy-coordinate pair and a radius. (part 2 of 2)
  106. Circle class test program. (part 1 of 2)
  107. Circle2 class header file (part 2 of 2) and Private base-class data can not be accessed from derived class. (part 1 of 2)
  108. Private base-class data can not be accessed from derived class. (part 2 of 2)
  109. Point2 class represents an xy-coordinate pair as protected data.
  110. Circle3 class header file.
  111. Circle3 class that inherits from class Point2.
  112. Protected base-class data can be accessed from derived class. (part 1 of 2)
  113. Protected base-class data can be accessed from derived class. (part 2 of 2)
  114. Point3 class header file. Point/Circle Hierarchy Using private Data
  115. Point3 class uses member functions to manipulate its private data.
  116. Circle4 class header file.
  117. Circle4 class that inherits from class Point3, which does not provide protected data. (part 1 of 2)
  118. Circle4 class that inherits from class Point3, which does not provide protected data. (part 2 of 2)
  119. Base class private data is accessible to a derived class via public or protected member function inherited by the derived class.
  120. Cylinder class header file.
  121. Cylinder class inherits from class Circle4 and redefines member function getArea.
  122. Point/Circle/Cylinder hierarchy test program. (part 1 of 2)
  123. Point/Circle/Cylinder hierarchy test program. (part 2 of 2)
  124. Point4 class header file and Point4 base class contains a constructor and a destructor. (part 1 of 2)
  125. Point4 base class contains a constructor and a destructor. (part 2of 2)
  126. Circle5 class header file.
  127. Circle5 class inherits from class Point4. (part 1 of 2)
  128. Circle5 class inherits from class Point4. (part 2 of 2)
  129. Constructor and destructor call order.
  130. Summary of base-class member accessibility in a derived class.
  131. Point class header file.
  132. Point class represents an xy-coordinate pair.
  133. Circle class header file.
  134. Circle class that inherits from class Point.
  135. Assigning addresses of base-class and derived-class objects to base-class and derived-class pointers. (part 1 of 2)
  136. Assigning addresses of base-class and derived-class objects to base-class and derived-class pointers. (part 2 of 2)
  137. Aiming a derived-class pointer at a base-class object.
  138. Attempting to invoke derived-class-only functions via a base-class pointer. (part 1 of 2)
  139. Attempting to invoke derived-class-only functions via a base-class pointer. (part 2 of 2)
  140. Point class header file declares print function as virtual (upper) and Circle class header file declares print function as virtual.
  141. Demonstrating polymorphism by invoking a derived-class virtual function via a base-class pointer to a derived-class object. (part 1 of 2)
  142. Demonstrating polymorphism by invoking a derived-class virtual function via a base-class pointer to a derived-class object. (part 2 of 2)
  143. Defining the polymorphic interface for the Shape hierarchy classes.
  144. Abstract base class Shape header file and Abstract base class Shape.
  145. Point class header file.
  146. Point class implementation file. (part 1 of 2)
  147. Point class implementation file. (part 2 of 2)
  148. Circle class header file and Circle class that inherits from class Point. (part 1 of 2)
  149. Circle class that inherits from class Point. (part 2 of 2)
  150. Cylinder class header file.
  151. Cylinder class implementation file. (part 1 of 2)
  152. Cylinder class implementation file. (part 2 of 2)
  153. Demonstarting polymorphism via a hierarchy headed by an abstract base class. (part 1 of 3)
  154. Demonstarting polymorphism via a hierarchy headed by an abstract base class. (part 2 of 3)
  155. Demonstarting polymorphism via a hierarchy headed by an abstract base class. (part 3 of 3)
  156. Class hierarchy for the polymorphic employee-payroll application.
  157. Employee class header file.
  158. Employee class implementation file. (part 1 of 2)
  159. Employee class implementation file (part 2 of 2) and SalariedEmployee class header file.
  160. SalariedEmployee class implementation file.
  161. HourlyEmployee class header file.
  162. HourlyEmployee class implementation file.
  163. CommissionEmployee class header file.
  164. CommissionEmployee class implementation file.
  165. BasePlusCommissionEmployee class header file.
  166. BasePlusCommissionEmployee class implementation file.
  167. Employee class hierarchy driver program.(part 1 of 2)
  168. Employee class hierarchy driver program.(part 2 of 2)


2004-07-29