CS174: Linked List: addFirst() (1.5 Points)

Developed by Professor Tralie and Professor Mongan.

Exercise Goals

The goals of this exercise are:
  1. Work classes and objects in C++
  2. Work with dynamic object references in C++
  3. Implement data structures in C++
Fill in the addFirst() method in the Linked List class. If your program says running()...., then it probably means your in an infinite loop! Be very careful of the order that you do things. Write down an example on a piece of paper to check yourself.
Welcome to our online modules system! Be sure to log in with your Urinus ID before you proceed. For example, Professor Tralie's ID is ctralie. If you are not an Ursinus student, that's fine! Just make something up, and you can still run everything