I usually do the following for safety: char dest[LEN]; char *src; ... /* src is set to point to a source string of unknown length */ strncpy( ...
確定! 回上一頁