+ 1

How you can create a function having any number of parameters ?

Realted to C++ programming.

1st May 2018, 10:43 AM
Harshit Sharma
Harshit Sharma - avatar
1 ответ
+ 1
there is some way to do this. like use stdarg library, use "Args ..." in c++11, use vectors, and etc! read this link to better understanding: https://stackoverflow.com/questions/1657883/variable-number-of-arguments-in-c
2nd Jun 2018, 8:59 AM
Mahdi Salek
Mahdi Salek - avatar