Yurttas/PL/OOL/Cplusplus/F/05/04/03/00/search.h
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"