Advertisement
Advertisement
| 07.20.2008 at 08:56PM PDT, ID: 23580878 | Points: 500 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: |
int teemp;
for(int bb=0; bb<pathcount; bb++)
{
for(int ee=0; ee<pathcount-1 ; ee++)
{
if(pos[ee]>pos[ee+1])
{
teemp=pos[ee+1];
pos[ee+1]=pos[ee];
pos[ee]=teemp;
}
}
}
|