Re: foostring problems...


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by Aaron on August 07, 2001 at 01:27:53:

In Reply to: foostring problems... posted by Natalie on August 06, 2001 at 23:27:07:

at least your foostring compiles and links. oh well hopefully he'll extend the deadline until the fall and we can all sit around writing really fast versions of hello world because God knows i have nothing better to do with my time. You know i was all for taking the highest revisited score, but no, now we actually have to work. I hear our new assigment is to write a tree that takes anagrams, maps them to foos, then plots the fastest route to get said foo from LAX to ORD, once at ORD it then spell checks it again a 50,000 word dictionary, and prints the output as fast as possible to the screen. And throw a fibinacci sequence in there for good measure too. What was the question again?

aaron

: 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




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]