how is it possible to define a macro or to declare a function with optionally different numbers of parameters passed to it?
e.g., like to mimic TextOut where it's possible to have optionally 3 or 4 parameters:
TextOut(0,0, "hello");
vs.
TextOut(0,0, "hello", DRAW_OPT_INVERS);
I want to use this feature e.g., to pass diffenent numbers of variables to a max function (or macro)
float max(float f1, float f2)
vs.
float max(float f1, float f2, float f3)
or to pass different numbers of values to print to screen
#define printf_(fmtstr, val1)
vs.
#define printf_(fmtstr, val1, val2)
