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?