[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CMacro
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CMacro
(C) Macro
A ?preprocessor function, useful for:- Include guards
- Defining constants
- Inline functions
/* #include guard *//* Macro constant */
- ifndef MY_INCLUDE_GUARD
- define MY_INCLUDE_GUARD
/* Macro function */
- define PI 3.1415926754
- define MAX(A,B) ( A > B ? A : B )
- endif /* End of: #ifndef MY_INCLUDE_GUARD */
'Macro' links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
