0_0_11566339_1734.cpp: In function `int cmp(const stu*, const stu*)':
0_0_11566339_1734.cpp:20: error: `t' has not been declared
0_0_11566339_1734.cpp:20: error: request for member of non-aggregate type before '<' token
0_0_11566339_1734.cpp:20: error: `t' has not been declared
0_0_11566339_1734.cpp:20: error: request for member of non-aggregate type before ';' token
0_0_11566339_1734.cpp: In function `int cmp2(const stu*, const stu*)':
0_0_11566339_1734.cpp:25: error: `num' has not been declared
0_0_11566339_1734.cpp:25: error: request for member of non-aggregate type before '<' token
0_0_11566339_1734.cpp:25: error: `num' has not been declared
0_0_11566339_1734.cpp:25: error: request for member of non-aggregate type before ';' token
0_0_11566339_1734.cpp: In function `int main()':
0_0_11566339_1734.cpp:107: error: request for member `h' in `a[i]', which is of non-class type `long long int[40]'
0_0_11566339_1734.cpp:113: error: invalid conversion from `int (*)(const stu*, const stu*)' to `int (*)(const void*, const void*)'
0_0_11566339_1734.cpp:113: error: initializing argument 4 of `void qsort(void*, size_t, size_t, int (*)(const void*, const void*))'
0_0_11566339_1734.cpp:119: error: `searchone' undeclared (first use this function)
0_0_11566339_1734.cpp:119: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_11566339_1734.cpp:122: error: no matches converting function `cmp2' to type `int (*)(const void*, const void*)'
0_0_11566339_1734.cpp:24: error: candidates are: int cmp2(const stu*, const stu*)
0_0_11566339_1734.cpp:66: error: void cmp2(long long int)
|