标签:insert 输出 ret main [] bsp int div rtt
printf("|%-15s|/n",insertTime); //左对齐,15位长度,不够补空格
printf("|%15s|/n",insertTime); //右对齐,15位长度,不够补空格
printf("|%015s|/n",insertTime); //右对齐,15位长度,不够补0
printf("|%-15.2f|/n",insertTime1); //左对齐,15位长度,带两位小数,不够补空格
return 0;
}
标签:insert 输出 ret main [] bsp int div rtt
原文地址:https://www.cnblogs.com/confusion/p/9245084.html