Computer Science 2‎ > ‎Daily Agenda‎ > ‎

April 5

posted Apr 5, 2016, 6:51 AM by Jill HUBBARD   [ updated Apr 5, 2016, 6:51 AM ]

  • Today
    • Continue working on class adventure.  
    • Notice its private data should be a a dynamically allocated array of activities, an integer to keep a count of the number of activities, and an integer for the size of the array created.
    • Now implement the adventure constructor and destructor. What should they do?
    • Now implement the New_Activity(); member function. It should add an activity to the array of activities.
    • Now implement the Display_all();function and test it
    • Now implement the Display_all (char season[]); overloaded function and test it
  • Finish early? Go on to linear linked lists