用于输出数组的printf扩展 [英] printf extensions for output of arrays

查看:54
本文介绍了用于输出数组的printf扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人在这里有关于如何使用printf格式化数组的信息?


我的意思是除了每个元素的通常格式之外
循环中
。我记得Trio printf有一些扩展但是

我不记得它们是否适用于阵列。


谢谢

Has anyone here any information about how arrays can be
formatted with printf?

I mean something besides the usual formatting of each element
in a loop. I remember that Trio printf had some extensions but
I do not recall exactly if they were meant for arrays.

Thanks

推荐答案

jacob navia写道:
jacob navia wrote:
这里有没有人有关如何用printf格式化数组的信息?
我的意思是除了循环中每个元素的通常格式之外的东西。我记得Trio printf有一些扩展但是我不记得它们是否适用于阵列。
Has anyone here any information about how arrays can be
formatted with printf?

I mean something besides the usual formatting of each element
in a loop. I remember that Trio printf had some extensions but
I do not recall exactly if they were meant for arrays.




C的非标准扩展不是,本身,主题为

comp.std.c.您可以通过建议将某些此类

扩展名标准化,或者通过询问是否允许符合要求的b $ b实现来提供此类扩展,或任何一个

其他变种的数量。按照目前的情况,您的查询应该只有

张贴到comp.lang.c.



Non-standard extension to C are not, in themselves, on-topic for
comp.std.c. You could bring it on-topic by suggesting that some such
extension be standardized, or by asking whether a conforming
implementation is allowed to provide such extensions, or any of a
number of other variations. As it stands, your inquiry should have been
posted only to comp.lang.c.


在文章< 11 **********************@f14g2000cwb.googlegroups .com> ;,

< ku **** @ wizard.net>写道:
In article <11**********************@f14g2000cwb.googlegroups .com>,
<ku****@wizard.net> wrote:
jacob navia写道:
jacob navia wrote:
这里有没有人有关如何使用printf格式化数组的任何信息?
我的意思是除了循环中每个元素的通常格式之外的东西。我记得Trio printf有一些扩展但是我不记得它们是否适用于数组。
Has anyone here any information about how arrays can be
formatted with printf? I mean something besides the usual formatting of each element
in a loop. I remember that Trio printf had some extensions but
I do not recall exactly if they were meant for arrays.


C的非标准扩展本身并不是主题
comp.std.c。您可以通过建议将某些此类
扩展标准化,或通过询问是否允许一致的
实现提供此类扩展,或任何其他任何其他变体来实现主题。按照目前的情况,你的查询应该仅发布到comp.lang.c。

Non-standard extension to C are not, in themselves, on-topic for
comp.std.c. You could bring it on-topic by suggesting that some such
extension be standardized, or by asking whether a conforming
implementation is allowed to provide such extensions, or any of a
number of other variations. As it stands, your inquiry should have been
posted only to comp.lang.c.




在comp.lang.c这里我们会有说这样的扩展

不是C标准的一部分,因此这里没有主题...


-

巧克力不仅仅是一种食物,还不是一种药物。 - RJ Huxtable



Over here in comp.lang.c we would have just said that such extensions
are not part of the C standard and so are not on topic here...

--
Chocolate is "more than a food but less than a drug" -- RJ Huxtable


文章< 11 ********************** @ f14g2000cwb.googlegroups .com>,

< ku **** @ wizard.net>写道:
In article <11**********************@f14g2000cwb.googlegroups .com>,
<ku****@wizard.net> wrote:
jacob navia写道:
jacob navia wrote:
这里有没有人有关如何用printf格式化数组的信息?

我的意思是除了循环中每个元素的通常格式之外的东西。我记得Trio printf有一些扩展但是我不记得它们是否适用于阵列。
Has anyone here any information about how arrays can be
formatted with printf?

I mean something besides the usual formatting of each element
in a loop. I remember that Trio printf had some extensions but
I do not recall exactly if they were meant for arrays.



C的非标准扩展本身并不是-topic for
comp.std.c。您可以通过建议将某些此类
扩展标准化,或通过询问是否允许一致的
实现提供此类扩展,或任何其他任何其他变体来实现主题。按照目前的情况,你的查询应该只发布到comp.lang.c。



Non-standard extension to C are not, in themselves, on-topic for
comp.std.c. You could bring it on-topic by suggesting that some such
extension be standardized, or by asking whether a conforming
implementation is allowed to provide such extensions, or any of a
number of other variations. As it stands, your inquiry should have been
posted only to comp.lang.c.




这么多级别搞笑。

你肯定有喜剧生涯。



Funny on so many levels.
You have a career in comedy, to be sure.


这篇关于用于输出数组的printf扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆