Search found 1 match

by rezinha85
Tue Jul 03, 2007 3:53 pm
Forum: Volume 110 (11000-11099)
Topic: 11056 - Formula 1
Replies: 34
Views: 21763

what the problem ?

what the problem in the function?


int sorting_function(const void *a, const void *b)
{
racer *x = (racer *) a;
racer *y = (racer *) b;

if(x->minute != y->minute)
return x->minute - y->minute;
else if(x->second != y->second)
return x->second - y->second;
else if(x->msecond != y->msecond ...

Go to advanced search