| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
请教一下在本题中qsort()和bsearch()该怎么使用比如定义下面一个结构体
typedef struct str
{
char str1[10];
char str2[10];
}str;
str strin[10000];
怎么将它按照str1升序排列?
或者是 char str[10000][2][10];
怎么按照 str[i][0] 进行排序?
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator