1 | #include <string> |
---|---|
2 | #include <vector> |
3 | |
4 | int main() |
5 | { |
6 | std::vector<bool> vBool; |
7 | |
8 | vBool.push_back(x: false); |
9 | vBool.push_back(x: true); |
10 | vBool.push_back(x: false); |
11 | vBool.push_back(x: true); |
12 | vBool.push_back(x: false); |
13 | vBool.push_back(x: true); |
14 | vBool.push_back(x: false); |
15 | vBool.push_back(x: true); |
16 | |
17 | vBool.push_back(x: false); |
18 | vBool.push_back(x: true); |
19 | vBool.push_back(x: false); |
20 | vBool.push_back(x: true); |
21 | vBool.push_back(x: false); |
22 | vBool.push_back(x: true); |
23 | vBool.push_back(x: false); |
24 | vBool.push_back(x: true); |
25 | |
26 | vBool.push_back(x: false); |
27 | vBool.push_back(x: true); |
28 | vBool.push_back(x: false); |
29 | vBool.push_back(x: true); |
30 | vBool.push_back(x: false); |
31 | vBool.push_back(x: true); |
32 | vBool.push_back(x: false); |
33 | vBool.push_back(x: true); |
34 | |
35 | vBool.push_back(x: false); |
36 | vBool.push_back(x: true); |
37 | vBool.push_back(x: false); |
38 | vBool.push_back(x: true); |
39 | vBool.push_back(x: false); |
40 | vBool.push_back(x: true); |
41 | vBool.push_back(x: false); |
42 | vBool.push_back(x: true); |
43 | |
44 | vBool.push_back(x: false); |
45 | vBool.push_back(x: true); |
46 | vBool.push_back(x: false); |
47 | vBool.push_back(x: true); |
48 | vBool.push_back(x: false); |
49 | vBool.push_back(x: true); |
50 | vBool.push_back(x: false); |
51 | vBool.push_back(x: true); |
52 | |
53 | vBool.push_back(x: false); |
54 | vBool.push_back(x: true); |
55 | vBool.push_back(x: false); |
56 | vBool.push_back(x: true); |
57 | vBool.push_back(x: false); |
58 | vBool.push_back(x: true); |
59 | vBool.push_back(x: false); |
60 | vBool.push_back(x: true); |
61 | vBool.push_back(x: true); |
62 | |
63 | printf (format: "size: %d", (int) vBool.size()); // Set break point at this line. |
64 | return 0; |
65 | } |
66 |