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


2004-12-28