【C++/C FAQ】如何格式化输出以0填充的定长整数

printf("%02d:%02d:%02dpm\n",12,0,0);

posted on 2011-06-24 23:24  speedmancs  阅读(744)  评论(0编辑  收藏  举报

导航