#include <sstream> // st is input string int result; stringstream(st) >> result;
548k questions
547k answers
4 comments
86.3k users