Setting a char array with c_str()?
Question
char el[3] = myvector[1].c_str();
myvector[i]
is a string with three letters in. Why does this error?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow