Top "Macros" questions

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

replay a vim macro until end of buffer

I want to run a macro I just recorded in register "x" on every single line of an open buffer, …

vim macros
IntelliJ Macro menu

I've just started playing with macros in IntelliJ. I recorded several then played back until I decided to add keymap …

macros intellij-idea keymapping
What does #x inside a C macro mean?

For example I have a macro: #define PRINT(int) printf(#int "%d\n",int) I kinda know what is the …

c macros
when to use JNIEXPORT and JNICALL in Android NDK?

I'm trying to write my own jni sources. Looking at some ndk samples, I found that they often use those …

android c++ macros android-ndk java-native-interface
What is the value of __cplusplus for C++17?

We are trying to test some code under C++17 and its change to std::uncaught_exception. I can't seem to …

c++ macros c++17
C Macros to create strings

Alternative Titles (to aid search) Convert a preprocessor token to a string How to make a char string from a …

c macros c-preprocessor stringification
How to create a string from a pre-processor macro

I have a preprocessor macro that represents a hierarchical path into my design. Example: `define HPATH top.chip.block I …

macros verilog system-verilog
Visual Studio 2012: How to perform a conditional post-build event

How do I perform a conditional post-build event? Specifically, I would like to only execute the post-build event command line …

macros visual-studio-2012 post-build-event visual-studio-macros
Are C++ Templates just Macros in disguise?

I've been programming in C++ for a few years, and I've used STL quite a bit and have created my …

c++ templates macros
Strange definitions of TRUE and FALSE macros

I have seen the following macro definitions in a coding book. #define TRUE '/'/'/' #define FALSE '-'-'-' …

c++ c macros boolean obfuscation