snprintf的正确用法: snprintf(dest, sizeof(dest), "%s", src);. strncpy的问题: 1.size一定要用sizeof(dest)或sizeof ...
確定! 回上一頁