Example Lists, implemented in C++ by Steve the Dev
- examples/arr-list.cpp : Hello World example with the Array List
- examples/sl-list.cpp : Hello World example with the Singly Linked List
Compile the example binaries with the included makefile. All of the examples from the examples/
directory get compiled into the bin/
directory under the same name.
- header/Lists/ListInterface.hpp : Base List interface
- header/Lists/LinkedListInterface.hpp : Base Linked List interface
- header/Nodes/NodeInterface.hpp : Base Node interface
- header/Nodes/SinglyLinkedNodeInterface.hpp : Singly-Linked Node interface
- header/Lists/ArrayListInterface.hpp : Array List Interface
- header/Lists/SinglyLinkedList.hpp : Singly-Linked List
- header/Lists/ArrayList.hpp : Array List
- header/Nodes/Node.hpp : Base Node implementation
- header/Nodes/SinglyLinkedNode.hpp : Singly Linked Node implementation
Steve the Dev: Implementing the Singly Linked List Array Lists: A Less Awful Way to Handle Arrays