I\'m trying to convert a std::string stored in a std::vector to an integer and pass it to a function as a parameter.
std::string
std::vector
This is a simplified vers
Use stringstream from standard library. It's cleaner and it's rather C++ than C.
int i3; std::stringstream(record[i]) >> i3;