+ 1
C ++ programming language Please provide information about macros
3 Réponses
+ 1
「HAPPY TO HELP」 Nothing wrong with macros if implemented correctly. Just like global variables, saying they're bad practice is a fallacy born of misunderstanding the mechanics of C/C++. How would you prevent header duplication (in chains of dependencies) without them?
+ 1
「HAPPY TO HELP」 I never heard about this doubles are bad thing to be honest. Where did you get told that and what was the reason? I heard the opposite here and there (don't use float, but double).
+ 1
Thank you all very much:)