Posted by Natalie on August 06, 2001 at 23:27:07:
Is it possible that there is some error in the foostring class? I am
having troubles...
I have the following line:
bigthing.addFlight(flightID, cost, startHere, startAt, endHere, endAt);
which calls:
void addFlight(unsigned long int flightID,
unsigned long int costInDollars,
airportType startingPlace,
timeSense startingTime,
airportType endingPlace,
timeSense endingTime)
{
assert(enteringPhase);
flightInfo info(flightID, costInDollars, startingPlace,
startingTime.value(), endingPlace,
endingTime.value() );
flightList.push(info);
};
The problem is that when I get down to the addFlight method, the contents
of the startingPlace foostring have changed from "LAX" to some weird value
with a \ character. Any help would be appreciated.
Thanks,
Natalie