Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~182 People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for jarhead741

i'm trying to write a quicksort but my partition is not working properly can some help me please [code=c++] void parttition(int myArray[],int first, int last); void quicksort(int myArray[],int first, int last); void quick( int size) { int myArray[10]; int x; srand((unsigned)time(0)); for (x=0;x<size;x++) { int random_integer = rand()/25; myArray[x]=random_integer; printf("%d\n",myArray[x]); …

Member Avatar for Passmark
0
92
Member Avatar for jarhead741

Hi, i've tried to get my quicksort to work, but i think because i have been looking at it for so long i cant see the problem with it so if someone can spot my mistake that would be great! [code=cpp]int parttition(int myArray[],int first, int last); void quicksort(int myArray[],int first, …

Member Avatar for jarhead741
0
89