void fn(...) [英] void fn(...)

查看:140
本文介绍了void fn(...)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对C ++很陌生,前几天我发现了一些我不理解的事情。函数的一个论点是......。 (没有

报价)。这是什么意思?

感谢您的帮助。

Hi,
I''m quite new to C++ and I found the other day something I didn''t
understand. One of the arguments of a function was "..." (without the
quotes). What does it mean?
Thanks for your help.

推荐答案

文章< 11 ** ********************@i40g2000cwc.googlegroups .com>,
ge ******* @ gmail.com 说...
In article <11**********************@i40g2000cwc.googlegroups .com>,
ge*******@gmail.com says...

我对C ++很新,我找到了另一个那天我没有理解。函数的一个论点是......。 (没有
引号)。这是什么意思?
Hi,
I''m quite new to C++ and I found the other day something I didn''t
understand. One of the arguments of a function was "..." (without the
quotes). What does it mean?




这意味着'是一个接受变量

参数的函数(如printf)。 />

-

后来,

杰瑞。


宇宙是一个虚构的自己的想象力。



It means that''s a function (like printf) that accepts a variable
number of arguments.

--
Later,
Jerry.

The universe is a figment of its own imagination.


ge ******* @ gmail .com 写道:
我对C ++很陌生,前几天我发现了一些我不理解的东西。函数的一个论点是......。 (没有
引号)。这是什么意思?
I''m quite new to C++ and I found the other day something I didn''t
understand. One of the arguments of a function was "..." (without the
quotes). What does it mean?




变量数量/参数类型。阅读你最喜欢的C ++书籍

吧。


V

-

请删除资金''A'在通过电子邮件回复时

我没有回复最热门的回复,请不要问



Variable number/type of arguments. Read your favourite C++ book about
them.

V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask


Victor Bazarov写道:
Victor Bazarov wrote:
ge*******@gmail.com 写道:
我对C ++很陌生,前几天我发现了一些我不理解的东西。函数的一个论点是......。 (没有
引号)。这是什么意思?
I''m quite new to C++ and I found the other day something I didn''t
understand. One of the arguments of a function was "..." (without the
quotes). What does it mean?



参数的变量/类型。阅读你最喜欢的关于
他们的C ++书。

V



Variable number/type of arguments. Read your favourite C++ book about
them.

V




还有一点需要补充:

重要的是要知道这些东西,但同样重要的是不要使用或

非常谨慎地使用它。


问候,

Ben



One more point to add:

It is important to know this stuff, yet equally important not to use or
use it with great caution.

Regards,
Ben


这篇关于void fn(...)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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