Top "Macros" questions

***DO NOT USE for VBA / MS-Office languages.

Overloading Macro on Number of Arguments

I have two macros FOO2 and FOO3: #define FOO2(x,y) ... #define FOO3(x,y,z) ... I want to define …

c macros c-preprocessor
Add preprocessor macro to a target in xcode 6

Probably this is pretty simple, but I can't find a way to define a preprocessor macro for a target in …

xcode macros preprocessor target
What makes Lisp macros so special?

Reading Paul Graham's essays on programming languages one would think that Lisp macros are the only way to go. As …

macros lisp homoiconicity
Swift: how to use PREPROCESSOR Flags (like `#if DEBUG`) to implement API keys?

In Objective-C it was sometimes useful to use static string constants to define alternate API keys (for example to differentiate …

swift xcode macros preprocessor xcode-build-settings
Creating C macro with ## and __LINE__ (token concatenation with positioning macro)

I want to create a C macro that creates a function with a name based on the line number. I …

c macros concatenation token
How to define a string literal in gcc command line?

In gcc command line, I want to define a string such as -Dname=Mary, then in the source code I …

c++ c gcc command-line macros
Why use Macros in C?

Possible Duplicate: What are C macros useful for? Every few months I get an itch to go learn some bit …

c macros
How can I schedule a Macro to run automatically in Access 2007

I'd like to have a macro, called Macro1, for example, run every day at 9 AM. It works great on its …

ms-access macros ms-access-2007 scheduled-tasks
What's the use of do while(0) when we define a macro?

Possible Duplicates: Do-While and if-else statements in C/C++ macros do { … } while (0) — what is it good for? I'm reading the …

c macros linux-kernel
What's the difference between #if and #ifdef Objective-C preprocessor macro?

How to define preprocessor macros in build settings, like IPAD_BUILD, and IPHONE_BUILD (and how to use them in …

ios objective-c macros c-preprocessor conditional-compilation