Strcpy
char str1[10] = "";
char str2[10] = "";
char str3[15] = "";
 
strncpy(str1, source, 9);   //最多只能存9個最後一個是 '\0'
strncpy(str3, "www.iota-six.co.uk", 10);
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License