News for hackers. Stuff that matters.
Re:How to properly use macros in C by Fronzie on Sunday December 10, 2017 @03:35PM (#15893356)
answer: you don't
Re:How to properly use macros in C by vortico on Sunday December 10, 2017 @03:43PM (#15893397)
There are many valid use cases of macros in C (and other languages) which you might not have seen, like those which use __LINE__ etc, those which expand a string into a variable type or function, those which process `-DNAME=x` flags.
Re:How to properly use macros in C by flavio81 on Sunday December 10, 2017 @05:09PM (#15893754)
C macros are extremely necessary for winning IOCCC contests. Essential, really.