P
pkirk25
I have a string with format "0|first_name|last_name|..." which i can
split to a vector<string> by the "|" token.
At the moment to get the row number I'm using size_t row_number =
atoi(buf_string[0].s_scr()) which throws warnings.
What is the correct way to convert a string "2" to size_t 2?
Thanks in advance.
split to a vector<string> by the "|" token.
At the moment to get the row number I'm using size_t row_number =
atoi(buf_string[0].s_scr()) which throws warnings.
What is the correct way to convert a string "2" to size_t 2?
Thanks in advance.