Is it possible to write a macro such as the following:
putcharX(repeat, char)
==>
putcharX(5, '*');
==>
putchar('*');
putchar('*');
putchar('*');
putchar('*');
putchar('*');
Note: I'm not looking to use a for/while/do
loop, but literally copy the command n
number of times in the code. Is such a thing possible with the cpp?