Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

string to char

string temp = "cat";
char * tab2 = new char [temp.length()+1];
strcpy (tab2, temp.c_str());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #char
ADD COMMENT
Topic
Name
7+2 =