You use the strncpy command to do this. if (tagflag) { strncpy(tagStr, timpStr, strlen(tmpStr)+1); } The strncpy command copies part of one string into ...
確定! 回上一頁