Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Airplane Progra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 43748 of 48022
Post > Topic >>

Airplane Program with Linked Lists. The linked list ****tion is very

by jawdoc <drbrooks@[EMAIL PROTECTED] > Mar 7, 2008 at 12:33 PM

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
 




 10 Posts in Topic:
Airplane Program with Linked Lists. The linked list portion is v
jawdoc <drbrooks@[EMAI  2008-03-07 12:33:08 
Re: Airplane Program with Linked Lists. The linked list portion
Christopher <cpisz@[EM  2008-03-07 13:36:47 
Re: Airplane Program with Linked Lists. The linked list portion
jawdoc <drbrooks@[EMAI  2008-03-07 14:44:12 
Re: Airplane Program with Linked Lists. The linked list portion
Christopher <cpisz@[EM  2008-03-07 15:20:05 
Re: Airplane Program with Linked Lists. The linked list portion
"Christopher Pisz&qu  2008-03-07 17:52:44 
Re: Airplane Program with Linked Lists. The linked list portion
Christopher <cpisz@[EM  2008-03-07 15:32:40 
Re: Airplane Program with Linked Lists. The linked list portion
"Chris Thomasson&quo  2008-03-07 16:42:32 
Re: Airplane Program with Linked Lists. The linked list portion
"Chris Thomasson&quo  2008-03-09 20:38:51 
Re: Airplane Program with Linked Lists. The linked list portion
jawdoc <drbrooks@[EMAI  2008-03-07 18:04:12 
Re: Airplane Program with Linked Lists. The linked list portion
"Daniel T." <  2008-03-07 21:57:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:22:17 CDT 2008.