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

From ZCubes Wiki
Revision as of 22:47, 6 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="cpp" line start="1" enclose="div">// search.h #include <vector> #include <string> using namespace std; enum SO {Search='S', Sort='...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1// search.h
 2
 3
 4#include <vector>
 5#include <string>
 6
 7using namespace std;
 8
 9enum SO {Search='S',
10         Sort='O'};
11typedef enum SO SO;
12
13enum LB {Linear='L',
14         Binary='B'};
15typedef enum LB LB;
16
17extern char get_char(string);
18
19#include "get_vector_item.cpp"
20
21#include "get_item.cpp"
22
23#include "linear_search.cpp"
24#include "binary_search.cpp"
25
26#include "put_found_item.cpp"