Hi!
I need help with how to write a function that takes any no of char arrays. It's involved with "..." param i know but im confused on the exact syntax:
manyWrite (100, 100, "First text", "Second text"); // call the function like this
manyWrite (int x, int y, ...){
//loop over the infinite arguments :)
myWrite(x,y + index*20, argument[index]);
}
Many thanks!
↧