Posted by adam on December 02, 2001 at 12:26:59:
In Reply to: Street Object posted by adam on November 30, 2001 at 17:00:07:
: If we incorporate a street object, should we also need to make an address object? I was thinking that the street could just store an static sized array of pointers to cars, but trucks also need to associated with street. Is there some way to store both without using some other data structure?
there are different ways to do it. but mcquain said it was ok to have trucks have a street pointer to make an association with the street. also with the clock question there are ways to get around that too. think about passing pointers.
Post a Followup