Printing out sort array?

[code]
int main()
{
}
[\code]
Last edited on
what do you mean?
You can just call printArray(Movies, Stud); again right after you sort the array.

1
2
3
4
5
cout << "------------- before sort --------\n";
printArray(Movies, Stud);
cout << "\n------------- after sort --------\n";
sortArray(Movies, Stud);
printArray(Movies, Stud);
Topic archived. No new replies allowed.