I'm quite new to the world of C++ programming I just started to like and learn the language a year back.
I have a problem which is related to sorting. Let's say I wanted to sort multiple array containers containing related elements.
Array1 Array2 Array3 Name Age Scores ===== === ===== John 23 1 Arthur 20 71 Vergil 15 777 Kenneth 25 7 Jason 19 6
How do I sort the three arrays such that when I sort array 1, array 2 and 3 will get sorted as well based on array1 sorting.
Your suggestions and comments is gladly appreciated.