Is it possible to do the following as you can for a C++ string. I can't seem to do this for a Cstring? That is, add characters to the Cstring the same way?
eg
// lets assume this vector is full of characters
vector<char> charvec;
string str;
const char* Cstring;
for (int i = 0; i < charvec.size(); i++)
{
str+= charvec[i]; // this works fine.
Cstring+= charvec[i] // does not work? Is there a way of achieving this?
}
Thanks