OOPortal 





Programming C++  «Prev 

Unspecified Argument Lists

C++ uses the ellipsis symbol ( ... ) to show that a function's argument list is unspecified. For example, the stdio.h function printf() is declared as the prototype:
int printf(const char* cntrl_str, ...);


Such a function can be invoked on an arbitrary list of actual parameters.
This practice should be avoided, however, because it can cause type-safety issues.