error: no match for ‘operator[]’ (operand types are
‘std::vector<std::__cxx11::basic_string<char> >’ and ‘std::string’ {aka
‘std::__cxx11::basic_string<char>’})
14 | else{cout<<","<<some_vector[a];}
| ^
/*bool check=true;
for(string i : some_vector){
if(check==true){
cout<<some_vector[i];
if(i==5){check=false;}}
else{cout<<some_vector[i]<<endl;}
}*/
bool boolF=true;
for (auto a : some_vector){
if(boolF==true){
boolF=false;
}
else{cout<<", "<<some_vector[a];}
}