Schnelle Sortier- und Zusammenführungsart aufbauenC++

Programme in C++. Entwicklerforum
Anonymous
 Schnelle Sortier- und Zusammenführungsart aufbauen

Post by Anonymous »

Ich habe Funktionen im Zusammenhang mit der schnellen Sortier- und Zusammenführungssorte erstellt. Ich bekomme keine Fehler, aber ich bekomme immer noch nicht die erforderliche Ausgabe. < /P>

Code: Select all

#include 

using namespace std;

void swap(int *a, int *b);

void printarray(int array[], int size);

int partition(int array[], int low, int high, int select);

void quicksort(int array[], int low, int high, int select);

void merge(int arr[], int p, int q, int r);

void mergesort(int arr[], int l, int r);

int main() {
int n, arr[20], selection, num, select;
int divide = 0, merge_count = 0;
cout  n;
cout  arr[i];
}

cout

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post