Re: Promoting unsigned long int to long int
- From: pereges <Broli00@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 11:53:16 -0700 (PDT)
On Jun 30, 8:47 pm, j...@xxxxxxxxxxx (Jens Thoms Toerring) wrote:
Not exactly;-) I they're the same there's nothing to sort since
your array only has a single element, so I meant
if ( left < right )
{
i = left;
j = right;
while (i <= j)
{
...
}
if (left < j)
{
quicksort(parent_vpa, left, j, axis);
}
if (i < right)
{
quicksort(parent_vpa, i, right, axis);
}
}
else
return;
btw its still not working. I'm not sure why but I had to use long
instead of unsigned long to make it work.
.
- References:
- Promoting unsigned long int to long int
- From: pereges
- Re: Promoting unsigned long int to long int
- From: Jens Thoms Toerring
- Re: Promoting unsigned long int to long int
- From: pereges
- Re: Promoting unsigned long int to long int
- From: Jens Thoms Toerring
- Promoting unsigned long int to long int
- Prev by Date: Re: Pedants
- Next by Date: Some issue with pointers
- Previous by thread: Re: Promoting unsigned long int to long int
- Next by thread: Re: Promoting unsigned long int to long int
- Index(es):
Relevant Pages
|