Playlist Manager Objectives 1. Practice composition of objects 2. Practice operator overloading Project details You will

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Playlist Manager Objectives 1. Practice composition of objects 2. Practice operator overloading Project details You will

Post by answerhappygod »

Playlist Manager Objectives 1 Practice Composition Of Objects 2 Practice Operator Overloading Project Details You Will 1
Playlist Manager Objectives 1 Practice Composition Of Objects 2 Practice Operator Overloading Project Details You Will 1 (71.72 KiB) Viewed 37 times
Playlist Manager Objectives 1. Practice composition of objects 2. Practice operator overloading Project details You will write a PlayList class that manages a play list of songs. The PlayList class manages a dynamically allocated array of song objects. The song class is provided for you in song.h and song.cpp, which should NOT be modified. Your playlist class will be implemented in two files playlist.h and playlist.cpp. The class will support two basic functions: 1. Managing the playlist. This includes adding songs. 2. Playing from the play list. This includes keeping track of which is the next song to be played. Obviously we will not actually be playing any music. “Playing” the song will consist of printing the name. To support these functions, your PlayList class should have the following public member functions: • Your class should have the following private data member: Array of songs object, integer member to record the capacity of the dynamic array (array size), an integer member to record the number of songs in the dynamic array, and an integer member to record the current song index (to support the play function). • The class should have a parametrized constructor that builds an empty playlist based on size speciffed by the user.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply