Download presentation
Presentation is loading. Please wait.
1
C ++ Pointer code
2
Simple pointer tasks Build an instance model of the structure
Determine what changes need to be made Make the changes step by step, numbering each step Write code for each step
3
Library Object model Which associations are pointers?
What functionality is important?
4
Instance diagram for Library
5
review - addbook Write an addbook function for the library class
Assume that library has an array of pointers to catalog-items catalog-item *itemlist[MAX]; Note: itemlist[ptr]->addauthor(newauthor) does not work TTYP1: determine the steps for the addbook task
6
Checkout TTYP1: Write the steps for a checkout function in library for book TTYP2: Write the code for a checkout function in library for book
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.