今天才知道 printf 有返回值,而且是什么意思

int printf ( const char * format, ... );


Return Value

On success, the total number of characters written is returned.
On failure, a negative number is returned.
posted @ 2011-03-19 11:25  lxgeek  阅读(872)  评论(3编辑  收藏  举报