Object-oriented programming in C++

  • Authors:
  • Richard J. Reid

  • Affiliations:
  • Computer Science Department, Michigan State University, E. Lansing, MI

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 1991

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes a course that introduces students to object-oriented design, the C++ language and discreteevent simulation with animated displays. Students come to this course with a Pascal, C and Assembler background and progress through the object-oriented features of C++, completing a simulation project as a major course component. A video-tape series is used to provide C++ instruction.For the simulation project, students complete the controller portion of an elevator system involving multiple elevator cars in a multi-story building simulation. Student controllers are coupled with modules they cannot see within, but can communicate with, using the member functions provided at the object-oriented interface. The simulation and animated display give visual feedback of the performance of student control algorithms.