DEV Community

Discussion on: Repeat macro in C?

Collapse
 
sgf4 profile image
Horu • Edited

I understand your point but I made this repeat macro for repeating exactly the code using the preprocessor, this example wouldn't be useful if you want to use this out of functions, for example you wouldn't be able to create 10 functions using your repeat macro.