Is it possible to define same macro more than once? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 13

Is it possible to define same macro more than once?

31st Jul 2019, 4:31 PM
A J I L
A J I L - avatar
3 Antworten
31st Jul 2019, 9:46 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
+ 4
You can also use #ifdef to check if a macro is already defined.
1st Aug 2019, 3:38 AM
Sonic
Sonic - avatar
+ 2
Yes
31st Jul 2019, 5:15 PM
Loeschzwerg