Question: please help me Code this assignement we need to build a program using C++ to implement AN ARRAY OF POINTER TO STRINGS. please below the

please help me Code this assignement we need to build a program using C++ to implement AN ARRAY OF POINTER TO STRINGS.
please below the whole information.
please help me Code this assignement we need to build a program
using C++ to implement AN ARRAY OF POINTER TO STRINGS.please below the

In this program assignment, you need to use C++ to implement an array of pointers to strings (or objects) Create a data file which contains the above names. Read each name into a string [20]. As you read the data from the file, construct an array of pointers to strings. Sort the array of pointers in the ascending order of the names (dictionary order) using the bubble sort algorithm. You are swapping pointers, not the names. Print out the sorted array of names. 1 NAME, CLASS, GPA 1 Williams, Freshman, 1.85 Smith, Senior, 2.99 Anderson, Sophomore, 3.01 Wiser, Freshman, 4.00 Robertson, Junior, 2.78 Koran, Junior, 3.50 Smith, Junior, 2.14 Johnson, Junior, 3.05 Johnson, Junior, 3.75 Potter, Senior, 2.98 Brown, Sophomore, 2.55 Crooks, Freshman, 1.99 Gregg, Senior, 2.44 Nicholas, Senior, 3.69 White, Sophomore, 1.64 Walsh, Junior, 4.00 Dennis, Senior, 2.06 Roberts, Sophomore, 4.00 Fredericks, Freshman, 2.89 Holmes, Senior, 2.56 Edwards, Sophomore, 3.00 Green, Sophomore, 3.67 Brown. Freshman, 2.00

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!