為了解決這個問題,可以使用 strncpy ,第三個參數可以指定最多複製字元的個數。 char * strncpy ( char * destination, const char * source, size_t num );. 雖然解決 ...
確定! 回上一頁