本文關(guān)鍵詞: c++ 字符串 函數(shù)
char *strcpy(char *s1, const char *s2)
將字符串s2復(fù)制到字符串?dāng)?shù)組s1中,返回s1的值
char *strncpy(char *s1, const char *s2, size_t n)
將字符串s2中最多n個字符復(fù)制到字符串?dāng)?shù)組s1中,返回s1的值
標(biāo)簽:
char
strcpy
const
字符串
上傳時間:
2016-07-09
上傳用戶:lz4v4