Utils.hh
/**
 * C++11 stoi gives problems with Cygwin, so this is a replacement.
 */
C++11 stoi gives problems with Cygwin, so this is a replacement.
C ++ 11 stoi gives problems with Cygwin so this is a replacement .
inline int string_to_int (const string& s) {
    istringstream iss(s);
    int i;
    iss >> i;
    return i;
}
inline int string_to_int ( const string & s ) { istringstream iss ( s ) ; int i ; iss >> i ; return i ; }
C++11 stoi gives problems with Cygwin, so this is a replacement.
C ++ 11 stoi gives problems with Cygwin so this is a replacement .