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

From ZCubes Wiki
Revision as of 22:48, 6 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="cpp" line start="1" enclose="div">// sort.h #include <cctype> #include <vector> #include <string> #include <functional> using namespace s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 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 BIQS {BubbleSort='B',
16           InsertionSort='I',
17           QuickSort='Q',
18           SelectionSort='S'};
19typedef enum BIQS BIQS;
20
21#include "bubblesort.cpp"
22#include "insertionsort.cpp"
23#include "quicksort.cpp"
24#include "selectionsort.cpp"
25
26#include "put_vector_item.cpp"