prog.cpp:1:10: error: ‘fmt’ was not declared in this scope
auto b = fmt.c_str() + std::distance(fmt.begin(), fmt_it);
^
prog.cpp:1:24: error: ‘distance’ is not a member of ‘std’
auto b = fmt.c_str() + std::distance(fmt.begin(), fmt_it);
^
prog.cpp:1:38: error: ‘fmt’ was not declared in this scope
auto b = fmt.c_str() + std::distance(fmt.begin(), fmt_it);
^
prog.cpp:1:51: error: ‘fmt_it’ was not declared in this scope
auto b = fmt.c_str() + std::distance(fmt.begin(), fmt_it);
^
prog.cpp:2:11: error: ‘end’ was not declared in this scope
auto e = &end;
^
prog.cpp:3:12: error: expected constructor, destructor, or type conversion before ‘(’ token
std::strtol(b, e, 10);
^