snprintf (),函数原型为int snprintf(char *str, size_t size, const char *format, ...)。将可变参数“…” 按照format的格式格式化为字符串,然后再将其拷贝至str中。
確定! 回上一頁