C语言学习之printf中怎么使用可变宽度的输出字段
#include <stdio.h>int main(void){ unsigned width ,precision; int number = 256; double weight = 242.5; printf ("what field width?\n"); scanf ("%d",&width); printf ("the number is %*d :\n",wi...
原创
2018-04-23 20:53:49 ·
4991 阅读 ·
1 评论