大部分的C 標準程式庫和Win32 字串處理函式都需要並產生以零結尾的字串。 ... strncpy(szDest, szSource, MAX); return strlen(szDest); // possible ...
確定! 回上一頁