Posts by rebel_vitor • 9 points
3 posts
-
-1
votes1
answer253
viewsQ: Difficulties with quickSort algorithm in C
I need to do a college work involving quicksort, but I’m finding difficulties in the code: #include <stdio.h> #include <stdlib.h> #define RA 8 int quickSort(int *vec[], int left, int…
-
-1
votes1
answer1570
viewsQ: Random numbers within a vector in C
Hello would like to know what would be the ideal method to generate random numbers within a vector in C using the function Rand(), I get an error when I try to run the code below. follows the code:…
-
-3
votes3
answers167
viewsQ: What’s wrong with the Bubble Sort algorithm?
I’m creating a code with the algorithm Bubble Sort, but when compiling I get errors, which are: In function 'int main()': 16 33 [Error] cannot convert 'int*' to 'int**' for argument '1' to 'int…
casked rebel_vitor 9