I am trying to write this c++ program. Please help. Write a program which sorts an array of supplied names (character strings). Your program should:Display the unsorted list of namesDisplay the sorted list of namesThe ten names are (in last name first order):Collins, BillSmith, BartAllen, JimGriffin, JimStamey, MartyRose, GeriTaylor, TerriJohnson, JillAllison, JeffLooney, Joe
OK, how far did you get? Are you allowed to use sort or do you have to make one? What data structures are you allowed to use or is it only going to be one or more arrays?
Thank you. Sorry for late reply, but I am totally new to c++ I have no idea where to start from. If you can help me here, it would be really great. Thank you. I have attached the document. That is what I need to write program for.
You are new to c++ and they started you on string arrays? Odd. OK, what did you do so far? Do you have the array made? How I would do this would probably use things you know nothing about, so my program would not look like your program. However, if you tell me what you have and where you have issues, I can help you find ways to get past them.
Join our real-time social learning platform and learn together with your friends!