int main() { Solution solution; string str("-123"); int num = solution.StrToInt(str); cout << "num = " << num << endl; return 0; }