3 ms·
Another unavoidable use of macros is to convert symbolic names into string literals or to enable warnings for printf wrappers in a portable code. As for includ
by fpoling 10y ago
Another unavoidable use of macros is to convert symbolic names into string literals or to enable warnings for printf wrappers in a portable code.
As for include guards one has to look really hard [1] to get a compiler that does not support #pragma once.
[1] - https://en.wikipedia.org/wiki/Pragma_once#Portability https://en.wikipedia.org/wiki/Pragma_once#Portability