Next, you need a way to create an empty listone that has no
link
objects. More specifically, you need a
header
constructor that explicitly assigns
first_link_pointer
to the null pointer 0
, such as in the
following definition:
class header { public: link *first_link_pointer; header ( ) { first_link_pointer = 0; } ... };