Enay Please do because Im not using an array within a type :)
I simply used an array to make a "flock" of sheep
However look at gittechs code.. you could mod that to have a linked list of sheep each containing 3 badgers
although, GitTech, you dont need to keep doig newbadger.badger= after declaring newbadger as a type badger also why return the badger when you pass in a sheep to store the reference anway and then never use the return value ("because you can" is an acceptable answer, its possible you may which to simultaneously store and return a reference to the last badger created)
I simply used an array to make a "flock" of sheep
However look at gittechs code.. you could mod that to have a linked list of sheep each containing 3 badgers
although, GitTech, you dont need to keep doig newbadger.badger= after declaring newbadger as a type badger also why return the badger when you pass in a sheep to store the reference anway and then never use the return value ("because you can" is an acceptable answer, its possible you may which to simultaneously store and return a reference to the last badger created)