summaryrefslogtreecommitdiff
path: root/9p6.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-07 19:46:27 +0200
committerOskar <[email protected]>2024-10-07 19:46:27 +0200
commitc0cc72f03f700ee705e139fb4bf95a7ce03d0b81 (patch)
tree57806857b72d0fec01d223b192ec93118504479f /9p6.cpp
parentee020f14877e5ed1708147a22133e9a413a948f1 (diff)
more
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;
+}