snprintf (),函式原型為int snprintf(char *str, size_t size, const char *format, ...)。 將可變參數“…” 按照format的格式格式化為字元串,然後再將其拷貝至str中。
確定! 回上一頁