daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Vector<Flight*> * searchFlight(string destination)
  2. {
  3.     Vector<Flight*> *flights_to_dest = new Vector<Flight*>();
  4.     for (int d = 0; d < n; d++)
  5.     {
  6.         if (destination == flights[d].destination)
  7.         {
  8.             flights_to_dest.push_back(flights[d]);
  9.         }
  10.     }
  11.     return flights_to_dest ;
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top