什么是按照可变参数的函数C和C ++? [英] What are variadic functions in accordance with C and C++?
本文介绍了什么是按照可变参数的函数C和C ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我很困惑。正如我pviously问的问题$ P $了解用C 超载,我得到了一些答案。
I am confused. As i asked the question previously about overloading in C, i got some answers.
每当我试图让别人明白这一点,我得到了可变参数函数混淆。
请让我知道它与你的知识淋浴!
Whenever i try to make others understand about this, I get confused in "variadic functions". Please let me know about it with your shower of knowledge!
推荐答案
在总之,他们是接受任何数量的参数的函数。
In short, they are functions that accept any number of arguments.
http://en.wikipedia.org/wiki/Variadic_function
这篇关于什么是按照可变参数的函数C和C ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文