Possible Duplicate:
"static const" vs "#define" in c
A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro. (No memory required)
So, people use it as a method to define constants instead of the syntax: const int num = 1;
Is this a good habit? Is the MACRO set to do another things additionally to #include
and #define
?