diff options
author | Oskar <[email protected]> | 2024-10-07 19:46:27 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-10-07 19:46:27 +0200 |
commit | c0cc72f03f700ee705e139fb4bf95a7ce03d0b81 (patch) | |
tree | 57806857b72d0fec01d223b192ec93118504479f /9p6.cpp | |
parent | ee020f14877e5ed1708147a22133e9a413a948f1 (diff) |
more
Diffstat (limited to '9p6.cpp')
-rw-r--r-- | 9p6.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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; +} |