This program can sort the text from your file. The example is a excerpt from Alexander Sergeyevich Pushkin's work "Eugene Onegin".
- Normal comparator (strcmp()).
- Reverse comparator (reverse strcmp()).
- Primitive bubble sorter.
- Standart quick sorter.
- My version of quick sorter.
Bend the repository and compile the files
First step:
git clone https://github.com/R0flan4k/StringsSorting.git
Second step:
cd StringSorting\src
Third step:
make
./StringSorting.exe --*sorter* --*comparator* --source *file name*
- Sorter flags:
--qsort
--myqsort
--bubblesort
- Comparator flags:
--normal
--reverse
- Text file flag:
--source *text file*
