sprintf函數用法詳解 keil51的頭文件stdio.h里的sprintf()函數源代碼在哪?
keil51的頭文件stdio.h里的sprintf()函數源代碼在哪?Uint8 cstrformat[8]={0}Uint8 tempbuffer[8]={0}sprintf(cstrformat
keil51的頭文件stdio.h里的sprintf()函數源代碼在哪?
Uint8 cstrformat[8]={0}Uint8 tempbuffer[8]={0}sprintf(cstrformat,“%%LD”,length)sprintf(tempbuffer,cstrformat,value)displaytxt(tempbuffer,baseaddr,length)您可以考慮另一種方法,例如先將數據寫入另一個變量,然后在寫入函數之前填充空格