Home > Back-end >  Consult everybody, this question: textual suffix, "c1" invalid; The computation of the ope
Consult everybody, this question: textual suffix, "c1" invalid; The computation of the ope

Time:09-26

Void Carout (Car * Car) {
If (isParkEmpty (& amp; Park)) {printf (" parking lot is empty!" );
}
The else {Car c1; GetTop (& amp; Park, & amp; C1);//if the parking lot outside the car is not going to leave, then removed from the stack, stack into another, until the most outside the garage for outbound car while (! ComCar (c1, * car)) {MoveOut (& amp; Park, & amp; C1); MoveIn (& amp; Park2, & amp; C1); GetTop (& amp; Park, & amp; C1); } int order=Pop (& amp; Park, & amp; C1); Printf (" this car in the parking lot for % typical vmlinux.lds and cost % d yuan (RMB 60 s/2) \ n ", c1. Leatime - c1. Arrtime, (c1) leatime - c1) arrtime + 9)/60 * 2); while (! IsParkEmpty (& amp; Park2)) {MoveOut (& amp; Park2, & amp; C1); MoveIn (& amp; Park, & amp; C1); }
}
The Car c1;
If (DeleteQueue (& amp; C1)) {Push (& amp; Park, & amp; C1);
}
}
  • Related