#include <math.h>
#include <algorithm>
+#include <iostream>
#include <simgear/compiler.h>
#include "awynet.hxx"
-SG_USING_STD(sort);
+using std::sort;
+
+using std::cerr;
+using std::endl;
/**************************************************************************
* FGNode
in >> skipeol;
// read in each remaining line of the file
-
-#ifdef __MWERKS__
- char c = 0;
- while ( in.get(c) && c != '\0' ) {
- in.putback(c);
-#else
while ( ! in.eof() ) {
-#endif
string token;
in >> token;
// Read each line from the database
identStart = token;
in >> latStart >> lonStart >> identEnd >> latEnd >> lonEnd >> type >> base >> top >> name;
+ in >> skipeol;
/*out << identStart << " "
<< latStart << " "
<< lonStart << " "