Another Question In c++ !!

Q3-Make a program for an array of structures that consists of three fields (the name which is a cstring, age is an integer, and address is a string object) and has two functions:
• One to sort the array according to name.
• One to sort the array according to address.
• The program executes either function depending on the user input
Please post what you have tried, what you have difficulties with, and any questions. We can't possibly know what you need help with without you attempting to try the assignment.
Yeah, I have no idea of how to start this. We need to see what YOU have done so WE can help.
Topic archived. No new replies allowed.