191acdcc97be1ed678646838f8788553c1cb9ab5
[openbsd] /
1 #include <list>
2 #include <string>
3
4 typedef std::list<int> int_list;
5 typedef std::list<std::string> string_list;
6
7 int main()
8 {
9     int_list numbers_list;
10     
11     numbers_list.push_back(0x12345678); // Set break point at this line.
12     numbers_list.push_back(0x11223344);
13     numbers_list.push_back(0xBEEFFEED);
14     numbers_list.push_back(0x00ABBA00);
15     numbers_list.push_back(0x0ABCDEF0);
16     numbers_list.push_back(0x0CAB0CAB);
17     
18     numbers_list.clear();
19     
20     numbers_list.push_back(1);
21     numbers_list.push_back(2);
22     numbers_list.push_back(3);
23     numbers_list.push_back(4);
24     
25     string_list text_list;
26     text_list.push_back(std::string("goofy")); // Optional break point at this line.
27     text_list.push_back(std::string("is"));
28     text_list.push_back(std::string("smart"));
29     
30     text_list.push_back(std::string("!!!"));
31         
32     return 0; // Set final break point at this line.
33 }
34