int snprintf(char *str,size_t n,const char *format,*** )格式化輸出到字串str中,但是隻寫入長度為n的輸出。 ... sprintf(str,"%5.3x",(float)3); ...
確定! 回上一頁