summaryrefslogtreecommitdiff
path: root/9p6.cpp
diff options
context:
space:
mode:
Diffstat (limited to '9p6.cpp')
-rw-r--r--9p6.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/9p6.cpp b/9p6.cpp
new file mode 100644
index 0000000..1893e03
--- /dev/null
+++ b/9p6.cpp
@@ -0,0 +1,22 @@
+#include <iostream>
+#include <list>
+
+/*
+ *
+ * 9.6
+ *
+ *
+ */
+
+int main () {
+
+ std::list<int> lst1;
+ std::list<int>::iterator iter1 = lst1.begin(), iter2 = lst1.end();
+ while (iter1 != iter2) {
+
+ }
+
+ // Maybe it is a bit cheating but when compiling this code, there seems to be no '<' operators for the list container.
+ // Correct it by giving it the condition above
+ return 0;
+}