summaryrefslogtreecommitdiff
path: root/9p14.cpp
blob: f4344c3a08a237c3f6e105febb949e07c82daef9 (plain)
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
#include <iostream>
#include <list>
#include <vector>

/*
 *
 * 9.14
 *
 *
 */

int main () {

	std::list<const char*> lcp = {"a","asjksd","skjk333","dkowdkjfdkjfd","wwdfsd", "eeeeeeee", "1253653463"};
	std::vector<std::string> vs;
	vs.assign(lcp.cbegin(), lcp.cend());
	for(auto &a : lcp) {
		std::cout << a << " ";
	}

	std::cout << std::endl;
	for(auto &a : vs) {
		std::cout << a << " ";
	}

	std::cout << std::endl;
	return 0;
}