Hi guys,
I have a problem.
I have a string vector containing only numbers, i would affect it on a int variable but it wont work.
How to convert this >
int integer = 0;
vector <string> test = {0,1,2,3,4};
test[0] = integer;
When i do this it wont work, i would love to know how to converter string vector to integer.
I have a problem.
I have a string vector containing only numbers, i would affect it on a int variable but it wont work.
How to convert this >
int integer = 0;
vector <string> test = {0,1,2,3,4};
test[0] = integer;
When i do this it wont work, i would love to know how to converter string vector to integer.

