Passing Array to Creatures!


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Khine on April 19, 2001 at 18:36:14:

Do we definitely have to use bi-directional association and forward declaration in this project 3??
Would it be fine, if I passes my plant-array and animal-array with Tick to animals?? If I can't pass the whole array would it be fine to pass one specific array pointer to the animals(Creatures)??? It is so confusing to me now because all the TA's that I have been talked to tell me it is ok to pass the whole array to creatures' classes, and I have done my program with that approach.
However, Mr. Helm told me that I can only pass specific array pointer.
So, I really need the clarification to move on.
Can Mr. McQuin please suggest me how to approach this?

Thanks a lot,

Khine


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]