printf() among others can retreive an unknown number of parametres beeing of different types. This is notated by three dots when declarating the printf function, for example like this:
int printf(const char *_Format, ...)
When making a call to printf, the string is pointed to by the _Format pointer, and the unknown number, and types, of the passed arguments is stored on stack, i believe. But how does one know the numbers of parametres passed, their types and values?
I could need a good link describing ... and its usage to clear things up a bit. I dont think it is to difficult to understand, but right now I have to many loose ends to see it clearly even though I have a vague understanding of it, but I have not found any good description in the big pound yet and could realy need som help to find this or someone to share some light.
thanks in advance