Hi,

how do you copy the value from a char * variable to a string without losing any data?

i have tried directly input, for example

char * someChar;
strcpy(someChar,"somestring");

string someStr = someChar;


but i got some last chars missing while the char string is long.

thanks for your help.