Question: C++ 1) For this lab assignment you need to create a header sections as described in lab assignments 1 and 2 . To that end,

C++
C++ 1) For this lab assignment you need to create a header

1) For this lab assignment you need to create a header sections as described in lab assignments 1 and 2 . To that end, each team should create a new simple input text file with information related to the current assignment, then call the "Submission_Header_Generator_V1" function in their main function to generate the header. The solution for the following programming question should be printed after this header portion. 2) Write a C++ program to declare a struct type, Song that represents a song entry in an MP-3 library. It should have fields for - Title - album - artist - music category. The music category is represented by an enumeration type called Category and has 3 types: 1) pop, 2) hiphop, 3) country. a) In the main function, write statements to declare a variable called mySong of type Song, and assign it a set of values that you choose (make up values and you can hard code it). Assume that the enumeration type Category includes any song category that listed above. b) Write a void function called PrintMusic to print out the values that you assigned to the different fields of the struct

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!