-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mymain.cpp
52 lines (39 loc) · 1.48 KB
/
Mymain.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mbari <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/07 18:54:40 by mbari #+# #+# */
/* Updated: 2022/02/14 15:48:56 by mbari ### ########.fr */
/* */
/* ************************************************************************** */
#include <iostream>
#include <iterator>
#include "containers/stack/stack.hpp"
#include "containers/vector/vector.hpp"
#include "containers/map/map.hpp"
#include "colors.hpp"
#include <stack>
#include <vector>
#include <map>
#define LIB ft
int main(int ac, char** av)
{
if (ac != 3)
{
std::cerr << "Please enter how many insert" << std::endl;
std::cerr << "Or Provide a seed please" << std::endl;
return 1;
}
const int seed = atoi(av[1]);
const int size = atoi(av[2]);
srand(seed);
LIB::map<int, int> map_int;
for (int i = 0; i < size; i++)
{
int access = rand();
map_int[access];
}
}