string ( const char * s ); Content is initialized to a copy of the string formed by the null- terminated character sequence (C string) pointed by s. The length of the character sequence is determined by the first occurrence of a null character (as determined by traits.length(s)). This version can be used to initialize a string object using a string literal constant. http://www.cplusplus.com/reference/string/string/string/