Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo, wir sollen in der schule was mit quicksort programmieren... (sind anfänger)

es sollen einach zahlen (mit char array) fest eingegeben werden char c[] = {'1','2','3','1','1','2','3'}; und dann sollen wir die zahlen sortieren.

ausgabe: 1,1,1,2,2,3,3. leider habe ich keine ahnung wie ich anfangen soll!danke

Du könntest anfangen mal ein wenig zu Recherchieren:

http://de.wikipedia.org/wiki/Quicksort

Da findest nicht nur eine gute Erklärung wie das theoretisch geht, sondern sogar Beispielcode für C!

danke,dass habe ich mir schon durchgelesen aber geholfen hats mir ehrlich gesagt nicht!

Ja, sollst Du einfach die qsort Funktion benutzen, oder den Algorithmus selbst implementieren?

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.