im not sure exactly what its called or how to use it.. but im guessing its used to pass over variables as arguments to a function, ive only seen it in functions with this added after it: ,...) somewaht similar to the code below..
int myfunc(char *data,const char *data2<strong>,...</strong>) { .... return 0; } int main(void) { char varhold[21]; memset(varhold,0,sizeof(varhold)); sprintf(varhold,"bob"); myfunc("hey","hi %s",varhold); return 0; }can someone tell me what it is? how to use it? examples?
The 3 dots "..." are not part of C or C++. Presumably whichever book you are using is obscuring some of the function's definition... It might mean that whatever would be behind those 3 dots is unimportant to the example in your book, but that is just as guess