diff --git a/Integer List/main.cpp b/Integer List/main.cpp index c8a27c5..7cd0b13 100644 --- a/Integer List/main.cpp +++ b/Integer List/main.cpp @@ -1,18 +1,24 @@ #include + +// Including Integer List #include "list.hpp" int main() { + // Declaring Int List Object IntList l; + // Operations performed on Int List l.push_back(10); l.push_back(11); l.push_back(12); l.push_back(13); l.push_back(14); + // Declaring an Iterator from Int List IntList::Iterator it; it = l.begin(); + // Iterating the Int List while (it != l.end()) { std::cout << *it << "\n";