但缺點跟strcpy 一樣,會有寫入溢出的問題。 snprintf 跟 strncpy 類似,可以指定最多複製字元的個數。 int snprintf ( char * s, size_t ...
確定! 回上一頁