+ 1

#indef

What's the purpose of "if not defined", if you already define with #define

2nd May 2017, 1:08 PM
***
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
6th May 2017, 5:47 PM
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓ - avatar