For example, in <stdio.h> , I noticed a declaration such as
what kind of parameter is (...) ?Code:int printf (const char* szFormat, ...);
I tried writing my own function taking (...) and it runs, but what is it and how can I use it?
Thanks.
This is a discussion on foo(...), what are the three dots? within the C Programming forums, part of the General Programming Boards category; For example, in <stdio.h> , I noticed a declaration such as Code: int printf (const char* szFormat, ...); what kind ...
For example, in <stdio.h> , I noticed a declaration such as
what kind of parameter is (...) ?Code:int printf (const char* szFormat, ...);
I tried writing my own function taking (...) and it runs, but what is it and how can I use it?
Thanks.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
Thank you sir.
As you could imagine, I didn't come up with anything when I searched for "..."