Yurttas/PL/OOL/Cplusplus/F/05/04/03/00/sort.h

 1// sort.h
 2
 3
 4#include <cctype>
 5
 6#include <vector>
 7#include <string>
 8
 9#include <functional>
10
11using namespace std;
12
13extern char get_char(string);
14
15enum AD {Ascending='A',
16         Descending='D'};
17typedef enum AD AD;
18
19enum BIQS {BubbleSort='B',
20           InsertionSort='I',
21           QuickSort='Q',
22           SelectionSort='S'};
23typedef enum BIQS BIQS;
24
25#include "bubblesort.cpp"
26#include "insertionsort.cpp"
27#include "quicksort.cpp"
28#include "selectionsort.cpp"
29
30#include "put_vector_item.cpp"