padding with sprintf

前端 未结 7 2046
甜味超标
甜味超标 2020-12-17 07:34

I have a dummy question. I would like to print an integer into a buffer padding with 0 but I cannot sort it out the sprintfformat. I am trying the following

7条回答
提交回复
热议问题