Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:qsort的cmp函数应该怎么改?

Posted by bool at 2006-03-12 10:16:44 on Problem 1002
In Reply To:qsort的cmp函数应该怎么改? Posted by:8085 at 2006-03-11 17:28:51
改成:	return strcmp( (*(tel*)a).telnum,(*(tel*)b).telnum);
抱歉,昨天的我没调试过就直接告诉你了。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator