Posted by hussein on July 23, 2000 at 19:40:31:
In Reply to: Re: I have the same problem, but!!!! posted by Tim on July 23, 2000 at 17:34:11:
: Ok, from main program it works fine( with writing), but when i tried to store the list of flights into FlightList class, I can't call the wirte function(from Flight class)any more.
: The Problem is it keeps printing the default constructor of Flight class(which I set all to
: zero with int and "noflight" with string.)
how do you initialize the values of the "Flight"s in the FlightList ? using one or more functions or using constructors ?
is this FlightList an array ?