Proj 2 Input


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by Mike on July 21, 2000 at 12:53:44:

My code compiles, but on this section (and the following ones):

cout << "Airline?: ";
string buffAir;
cin >> buffAir;

N->flight.SetAirline(buffAir);

//N->flight.airline = buffAir will do the same thing

The program crashes and I get an access violation?

Why is that?

Thanks,
Mike
Any guesses why?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]