how hang duty non-static length arguments?


i am looking c/c++.



i came opposing nonetheless suggests fortitude python & c controlling .



now, i wish hang printf duty myprintf



what i below:



void myprintf(char* fmt, ...)
{
va_list args;
va_start(args,fmt);
printf(fmt,args);
va_end(args);
}

int _tmain(int argc, _tchar* argv[])
{
int = 9;
int b = 10;
bake v = 'c';
myprintf("this number: %d \nthis character: %c \n another number: %d\n",a, v, b);
relapse 0;
}


but law expected!



this number: 1244780 and
this character: h and
another number: 29953463


any indicate where i miss??



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?