summaryrefslogtreecommitdiff
path: root/9p14.cpp
diff options
context:
space:
mode:
Diffstat (limited to '9p14.cpp')
-rw-r--r--9p14.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/9p14.cpp b/9p14.cpp
new file mode 100644
index 0000000..f4344c3
--- /dev/null
+++ b/9p14.cpp
@@ -0,0 +1,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;
+}