+ 1
#indef
What's the purpose of "if not defined", if you already define with #define
3 odpowiedzi
+ 15
#pragma is a good alternative for #indef and #define if you have a compiler that supports it (most do)
https://en.m.wikipedia.org/wiki/Pragma_once
ref:Nikolay Jivkov