logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

this project is to build a Playlist using a linkedlist, Implementation file for the playlist class

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Project 2 - PlayList

The goal for this project is to build a Playlist using a linkedlist.

You are given:

    playlist.cpp - Implementation file for the playlist class

    playlist.h - Header file for the playlist class

    main.cpp - A main file that you should compile to test your playlist class

 

All required functions for this project can be found in playlist.h and the implementation skeletons can be found in playlist.h.

I've also added two structs in playlist.h, you also are tasked to complete the default constructors for the Song struct.

The Song struct represents meta-data about a song in our playlist, mainly the title of the song and the duration of said song.

The PlayListNode is the node component of our linkedlist, it contains a pointer to the song and a pointer to the next node. You won't have to do much with this struct.

 

You are allowed to add any public/private variables/member functions as you like as long as you retain and keep the default functions and structs i have provided you.

A simple main.cpp is provided for you to use to iteratively test your class.

To compile run the following (assuming you're in the directory of all 3 files):

    g++ main.cpp -std=c++11

To execute your binary run the following (assuming you did not rename the output):

    ./a.out

When submitting to gradescope you should only submit playlist.h and playlist.cpp, the main.cpp is not required.

You should only submit to gradescope when you have finished all the required functions. 

(5/5)
Attachments:

Expert's Answer

643 Times Downloaded

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

643 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

525 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

935 Answers

Hire Me
expert
Husnain SaeedComputer science

757 Answers

Hire Me
expert
Atharva PatilComputer science

879 Answers

Hire Me

Get Free Quote!

333 Experts Online