Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

why convert char* to string c++

char *cStr = "C++";
std::string Str = std::string(cStr);
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #convert #string
ADD COMMENT
Topic
Name
4+1 =