macro function for printing
Posted
by seven
on Stack Overflow
See other posts from Stack Overflow
or by seven
Published on 2010-04-13T10:00:00Z
Indexed on
2010/04/13
10:02 UTC
Read the original article
Hit count: 276
Hi,
if for example i have :
define PRINT(x) fprintf(stderr, x);
and in code i append it : PRINT(("print this")) output is : [print this]
if i append it : PRINT(("print %s", "this")) output is : [this]
could someone explain me why it receives just the "this" argument and not the whole string ?
© Stack Overflow or respective owner