Question: Create a c++ student structure. A student has a name (cstring or null-terminated character array), Student ID (int), grade (char), birthday (mydate) and Home Town

 Create a c++ student structure. A student has a name (cstring

Create a c++ student structure. A student has a name (cstring or null-terminated character array), Student ID (int), grade (char), birthday (mydate) and Home Town (string) eCreate an array of 10 students Write a function that populates the array with 10 students. The student ID's will be randomly generated numbers between 1000 and 9999inclusively No two ID's can be the same. The birthdays will be random dates between January 1, 1995 and December 31, 2000 The grades will be random characters between A and F (not including) E) This will be the Original list. Create 5 arrays of pointers to students, each pointer will point to a One pointer array will be sorted so that when the pointed to contents The other arrays will be sorted so that each displays students in age, student in your array. are displayed, it shows all the students in student ID order Name, Grade, or HomeTown order . The displayed list should be nicely formatted with column names like this: All columns should be left-justified Student ID: 1002 2987 Name: Grade: Birthday: Store Thump Fred Flintstone 1995 Sore Dob January 1, 1996 February 3, 1997 Bedrock June 3, 1999 HomeTown: Small Ville Rock Bottoms Create a menu that shows the following options: 0. Display Original List 1. Display List Sorted by Name 2. Display List Sorted by Student ID 3. Display List Sorted by Grade 4. Display List Sorted by Birthday 5. Display List Sorted by HomeTown 6. Exit Note: Take advantage of your myDate class that you just wrote. Further, it might be helpful to create a new function that returns a string for the date format: o string myDate::printDate() To help with formatting,you may want to use the library which includes the setw() function. Create a c++ student structure. A student has a name (cstring or null-terminated character array), Student ID (int), grade (char), birthday (mydate) and Home Town (string) eCreate an array of 10 students Write a function that populates the array with 10 students. The student ID's will be randomly generated numbers between 1000 and 9999inclusively No two ID's can be the same. The birthdays will be random dates between January 1, 1995 and December 31, 2000 The grades will be random characters between A and F (not including) E) This will be the Original list. Create 5 arrays of pointers to students, each pointer will point to a One pointer array will be sorted so that when the pointed to contents The other arrays will be sorted so that each displays students in age, student in your array. are displayed, it shows all the students in student ID order Name, Grade, or HomeTown order . The displayed list should be nicely formatted with column names like this: All columns should be left-justified Student ID: 1002 2987 Name: Grade: Birthday: Store Thump Fred Flintstone 1995 Sore Dob January 1, 1996 February 3, 1997 Bedrock June 3, 1999 HomeTown: Small Ville Rock Bottoms Create a menu that shows the following options: 0. Display Original List 1. Display List Sorted by Name 2. Display List Sorted by Student ID 3. Display List Sorted by Grade 4. Display List Sorted by Birthday 5. Display List Sorted by HomeTown 6. Exit Note: Take advantage of your myDate class that you just wrote. Further, it might be helpful to create a new function that returns a string for the date format: o string myDate::printDate() To help with formatting,you may want to use the library which includes the setw() function

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!