Earlier I posted up an Airplane Program using 2 dimensional arrays,
and I totally appretiate all of the help I received from everyone. Now
I have this program and we are instructed to use Linked Lists. I
understand that in my struct I need a struct that is a pointer that is
in the struct. In mine it is called *next. In my updated code passing
through some of the functions with the plane struct causes errors on
the clearPlane function. The Linked list version has an array of bools
showing if the seat is taken or not instead of having the bool in the
array. I just need some direction for using the linked lists instead
of the 2 dimensional arrays. Both versions are provided. Any help is
greatly appretiated.
Thanks
Jawdoc
2 Dimensional Airplane
http://www.chiefgamer.com/tman/cpp/airplanearray.cpp
Linked List Airplane
http://www.chiefgamer.com/tman/cpp/airplanelist.cpp