阅读背景:

是否有一种简单的方法来获得用c++打印的字符数?

来源:互联网 

printf(...) returns the number of characters output to the console, which I find very helpful in designing certain programs. So, I was wondering if there is a similar feature in C++, since the cout<< is an operator without a return type (at least from what I understand of it). returns the number of characters ou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: