12 std::ifstream in("bergToGC.dat");
15 std::cerr << "Could not open bergToGC.dat" << std::endl;
18 std::map<int,int> gctoberg;
22 while ( in >> berg >> manu )
24 if (debug) std::cout << berg << " -> " << manu;
25 if ( std::isdigit(manu[0]) )
27 int imanu = std::atoi(manu.c_str());
28 if ( debug ) std::cout << " = " << imanu;
29 gctoberg[imanu] = berg;
31 if ( debug ) std::cout << std::endl;
36 std::map<int,int>::const_iterator it;
38 for ( it = gctoberg.begin(); it != gctoberg.end(); ++it )
40 std::cout << std::setw(2) << it->first
41 << std::setw(4) << it->second