You will be building a linked list. Make sure to keep trackof both the head and tail nodes.
Using
Playlist.h – Struct definition and related functiondeclarations
Playlist.c – Related function definitions
main.c – main() function
Private data members
char uniqueID[50]
char songName[50]
char artistName[50]
int songLength
PlaylistNode* nextNodePtr
Related functions
CreatePlaylistNode()
InsertPlaylistNodeAfter()
Insert a new node after node
SetNextPlaylistNode()
Set a new node to come after node
GetNextPlaylistNode()
Return location pointed by nextNodePtr
PrintPlaylistNode()
(5) Implement the “Add song” menu item. New additions are addedto the end of the list.
Ex:
ADD SONGEnter song’s unique ID:SD123Enter song’s name:PegEnter artist’s name:Steely DanEnter song’s length (in seconds):237
(6) Implement the “Remove song” function. Prompt the user for theunique ID of the song to be removed.
Ex:
REMOVE
PayPal Gateway not configured
PayPal Gateway not configured