Re: is there a macro that prints the incoming param list?

2009-06-01 Thread Wojciech Puchar
is there any marco that printfs the incoming list, or am i asking too much of the compiler at runtime? what a problem to do int a; for (a=0;aargc;a++) printf(Arg %d == %s,a,argv[a]); example: main (int argc, char *argv) with this macro might print: 2,

is there a macro that prints the incoming param list?

2009-05-31 Thread Gary Kline
is there any marco that printfs the incoming list, or am i asking too much of the compiler at runtime? example: main (int argc, char *argv) with this macro might print: 2, testinput and baz(char *file, int count) similarly might print,

Re: is there a macro that prints the incoming param list?

2009-05-31 Thread till plewe
On Mon, Jun 1, 2009 at 10:06 AM, Gary Kline kl...@thought.org wrote: is there any marco that printfs the incoming list, or am i asking too much of the compiler at runtime? example: main (int argc, char *argv) with this macro might print: 2, testinput and

Re: is there a macro that prints the incoming param list?

2009-05-31 Thread Gary Kline
On Mon, Jun 01, 2009 at 10:23:01AM +0900, till plewe wrote: On Mon, Jun 1, 2009 at 10:06 AM, Gary Kline kl...@thought.org wrote: is there any marco that printfs the incoming list, or am i asking too much of the compiler at runtime? example: main (int argc, char *argv)