- /*
- // We can use the STL copy algorithm because the input
- // file doesn't contain and comments or blank lines.
- copy( istream_iterator<fgAIRPORT,ptrdiff_t>(in.stream()),
- istream_iterator<fgAIRPORT,ptrdiff_t>(),
- inserter( airports, airports.begin() ) );
- */
-
- // read in each line of the file
-
-#ifdef __MWERKS__
-
- in >> skipcomment;
- char c = 0;
- while ( in.get(c) && c != '\0' ) {
- in.putback(c);
- in >> a;
- airports.insert(a);
- in >> skipcomment;
- }
-
-#else