hi, i have a string like string s = "1234" and i want separately the integers 1 ,2 ,3 4 as integers , so how do i do it? i tried using atoi as follows :
char * ss[10];
ss = atoi(s.c_str());
int x = ss[0];
for getting 1 but it shows error
please help