//stu.cpp #include #include using namespace std; typedef struct { long sid; char name[9]; string name22; // C++ string } Student; Student x[ ] = { {3388, "aaaaa", "ABCDE" }, {5566, "ccc", "hello"}, {4949, "bbb", "bbs"} }; bool operator<(Student a, Student b) { cout << ".Less."; return b.name22 < a.name22; } bool comp(Student a, Student b) { cout << ".comp."; return strcmp(a.name, b.name) < 0; } void print(Student*y, int n){ for(int i=0; ig++ stu.cpp stu.cpp:33:2: warning: no newline at end of file C:\testc\handouts\STL>a x: 3388 aaaaa ABCDE 5566 ccc hello 4949 bbb bbs .Less..Less..Less..Less. x: 5566 ccc hello 4949 bbb bbs 3388 aaaaa ABCDE .comp..comp. x: 3388 aaaaa ABCDE 4949 bbb bbs 5566 ccc hello *** ===================== ***/